Joe's Boredom joescove_mw19644 http://wiki.joescove.com/index.php/Main_Page MediaWiki 1.38.4 first-letter Media Special Talk User User talk Joe's Boredom Joe's Boredom talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Albert Einstein/Quotes 0 18 61 2009-11-22T07:31:57Z Joe 1 wikitext text/x-wiki * Imagination is more important than knowledge... * The only thing that interferes with my learning is my education. * I don`t know, I don`t care, and it doesn`t make any difference! * Peace cannot be kept by force; it can only be achieved by understanding * Everyone should be respected as an individual, but no one idolized * A clever person solves a problem. A wise person avoids it. * All our science, measured against reality, is primitivae and childlike - and yet it is the most precious thing we have. * I do not believe in the immortality of the individual, and I consider ethics to be an exclusively human concern without any superhuman authority behind it. * Things should be made as simple as possible, but not any simpler. * Anyone who has never made a mistake has never tried anything new. * The problems that exist in the world today cannot be solved by the level of thinking that created them. 43c4c0a6a06a5b8569e685040972df9b25f57272 Abraham Lincoln/Quotes 0 16 57 2009-11-22T07:35:03Z Joe 1 wikitext text/x-wiki * When I do good, I feel good; when I do bad, I feel bad. That`s my religion. d6a28b8d786f1c1cfa0fda65da2643e03d928b0a Anais Nin/Quotes 0 20 65 2009-11-22T07:59:53Z Joe 1 Created page with ' * When we blindly adopt a religion, a political system, a literary dogma, we become automatons. We cease to grow.' wikitext text/x-wiki * When we blindly adopt a religion, a political system, a literary dogma, we become automatons. We cease to grow. 769db663ab4ebebc2201befab8128bead8680357 Template:Tty 10 11 39 2009-12-30T05:46:40Z Joe 1 Created page with '{|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |'''name@machine:/$'''&nbsp;{{{...' wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |'''name@machine:/$'''&nbsp;{{{1}}} |} 85478562cb04c1552258a0a4600e720ebfe08d2d 40 39 2009-12-30T05:46:53Z Joe 1 Protected "[[Template:Tty]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |'''name@machine:/$'''&nbsp;{{{1}}} |} 85478562cb04c1552258a0a4600e720ebfe08d2d 41 40 2009-12-30T05:52:58Z Joe 1 wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |'''name@machine:/$'''&nbsp;{{{cmd}}} |} {{#if:{{{res|}}}|'''Results:'''<br /> {{{res}}}|}} e1be2a09c060b3fdba0ba34b3de78838b9555407 42 41 2009-12-30T05:56:09Z Joe 1 wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |'''name@machine:/$'''&nbsp;{{{cmd}}} |} {{#if:{{{res|}}}|'''Results:'''<br /> {{{res}}}|}} [[Category:Terminal Commands|{{{cmd}}}]] 3e33a19a03f03b746688281c076a68673150534f 43 42 2009-12-30T06:07:59Z Joe 1 wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |'''name@machine:/$'''&nbsp;{{{cmd}}} |} {{#if:{{{res|}}}|'''Results:'''<br /> {{{res}}}|}} <includeonly>[[Category:Terminal Commands|{{{cmd}}}|{{{cmd}}}]]</includeonly> e3c2c484468268153fc16077e2a10291c5e636f2 44 43 2010-01-02T06:10:38Z Joe 1 wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |{{#if:{{{cmd1|}}}|{{Foreach|Tty_cmds|delim=<br />|<!-- -->{{{cmd1|}}}|{{{cmd2|}}}|{{{cmd3|}}}|{{{cmd4|}}}|{{{cmd5|}}}|{{{cmd6|}}}|<!-- -->{{{cmd7|}}}|{{{cmd8|}}}|{{{cmd9|}}}|{{{cmd10|}}}|{{{cmd11|}}}|{{{cmd12|}}}|<!-- -->}}<br />|}} |} {{#if:{{{res|}}}|'''Results:'''<br /> {{{res}}}|}} <includeonly>[[Category:Terminal Commands|{{{cmd}}}|{{{cmd}}}]]</includeonly> d6331dbd6b574b942627a124a19cea6f4f4b7b8a 45 44 2010-01-02T07:14:50Z Joe 1 wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="%100" border="1px" |style="color:white; background-color:black;"|Terminal |- |{{#if:{{{cmd1|}}}|{{Foreach|Tty_cmds|delim=<br />|<!-- -->{{{cmd1|}}}|{{{cmd2|}}}|{{{cmd3|}}}|{{{cmd4|}}}|{{{cmd5|}}}|{{{cmd6|}}}|<!-- -->{{{cmd7|}}}|{{{cmd8|}}}|{{{cmd9|}}}|{{{cmd10|}}}|{{{cmd11|}}}|{{{cmd12|}}}|<!-- -->}}<br />|}} |} {{#if:{{{res|}}}|'''Results:'''<br /> {{{res}}}|}} bd412ad9923e28ceb2ce343f4df0ca6b87943730 46 45 2010-01-30T07:28:10Z Joe 1 wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="100%" border="1px" |style="color:white; background-color:black;"|Terminal |- |{{#if:{{{cmd1|}}}|{{Foreach|Tty_cmds|delim=<br />|<!-- -->{{{cmd1|}}}|{{{cmd2|}}}|{{{cmd3|}}}|{{{cmd4|}}}|{{{cmd5|}}}|{{{cmd6|}}}|<!-- -->{{{cmd7|}}}|{{{cmd8|}}}|{{{cmd9|}}}|{{{cmd10|}}}|{{{cmd11|}}}|{{{cmd12|}}}|<!-- -->}}<br />|}} |} {{#if:{{{res|}}}|'''Results:'''<br /> {{{res}}}|}} f7df71d6d3f80e416588fef6bb0c9e04356f4695 Template:Havetochange 10 6 20 2010-01-02T05:50:23Z Joe 1 Created page with '---- <big>- Important -</big><br /> You *have* to change (''all occurences'' of) '''{{{from}}}''' in the code below to '''{{{to}}}'''<br /> Had to use '''{{{from}}}''' in order t...' wikitext text/x-wiki ---- <big>- Important -</big><br /> You *have* to change (''all occurences'' of) '''{{{from}}}''' in the code below to '''{{{to}}}'''<br /> Had to use '''{{{from}}}''' in order to post here using the syntax coloring, server security setting, sorry for the inconvenience. ---- be842081cb9da809d63fac5beb35eb8dca2e1dc8 21 20 2010-01-02T05:50:30Z Joe 1 Protected "[[Template:Havetochange]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki ---- <big>- Important -</big><br /> You *have* to change (''all occurences'' of) '''{{{from}}}''' in the code below to '''{{{to}}}'''<br /> Had to use '''{{{from}}}''' in order to post here using the syntax coloring, server security setting, sorry for the inconvenience. ---- be842081cb9da809d63fac5beb35eb8dca2e1dc8 22 21 2010-01-02T05:52:48Z Joe 1 wikitext text/x-wiki ---- <big>- Important -</big><br /> You *have* to change (''all {{{count}}} occurences'' of) '''{{{from}}}''' in the code below to '''{{{to}}}'''<br /> Had to use '''{{{from}}}''' in order to post here using the syntax coloring, server security setting, sorry for the inconvenience. ---- bf4be97a031a894a083898cbc3bd94458d9dcc84 23 22 2010-01-02T06:31:14Z Joe 1 wikitext text/x-wiki ---- <big>'''- Important -'''</big><br /> You *have* to change (''all {{{count}}} occurences'' of) '''{{{from}}}''' in the code below to '''{{{to}}}'''<br /> Had to use '''{{{from}}}''' in order to post here, server security setting, sorry for the inconvenience. ---- 83c4c381be78f1bd48411913748ed055e7dbae9f Template:Foreach 10 5 17 2010-01-02T05:58:08Z Joe 1 Created page with '<includeonly><!-- -->{{#if:{{{2|}}}|<!-- -->{{<!-- -->{{{1}}}|{{{2}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{3|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{3}}}<!-- -->}}<!-- -->}}<...' wikitext text/x-wiki <includeonly><!-- -->{{#if:{{{2|}}}|<!-- -->{{<!-- -->{{{1}}}|{{{2}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{3|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{3}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{4|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{4}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{5|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{5}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{6|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{6}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{7|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{7}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{8|}}}|{{{delim|}}}{{{{{1}}}|{{{8}}}}}}}<!-- -->{{#if:{{{9|}}}|{{{delim|}}}{{{{{1}}}|{{{9}}}}}}}<!-- -->{{#if:{{{10|}}}|{{{delim|}}}{{{{{1}}}|{{{10}}}}}}}<!-- -->{{#if:{{{11|}}}|{{{delim|}}}{{{{{1}}}|{{{11}}}}}}}<!-- -->{{#if:{{{12|}}}|{{{delim|}}}{{{{{1}}}|{{{12}}}}}}}<!-- -->{{#if:{{{13|}}}|{{{delim|}}}{{{{{1}}}|{{{13}}}}}}}<!-- -->{{#if:{{{14|}}}|{{{delim|}}}{{{{{1}}}|{{{14}}}}}}}<!-- -->{{#if:{{{15|}}}|{{{delim|}}}{{{{{1}}}|{{{15}}}}}}}<!-- -->{{#if:{{{16|}}}|{{{delim|}}}{{{{{1}}}|{{{16}}}}}}}<!-- -->{{#if:{{{17|}}}|{{{delim|}}}{{{{{1}}}|{{{17}}}}}}}<!-- -->{{#if:{{{18|}}}|{{{delim|}}}{{{{{1}}}|{{{18}}}}}}}<!-- -->{{#if:{{{19|}}}|{{{delim|}}}{{{{{1}}}|{{{19}}}}}}}<!-- -->{{#if:{{{20|}}}|{{{delim|}}}{{{{{1}}}|{{{20}}}}}}}<!-- -->{{#if:{{{21|}}}|{{{delim|}}}{{{{{1}}}|{{{21}}}}}}}<!-- -->{{#if:{{{22|}}}|{{{delim|}}}{{{{{1}}}|{{{22}}}}}}}<!-- -->{{#if:{{{23|}}}|{{{delim|}}}{{{{{1}}}|{{{23}}}}}}}<!-- -->{{#if:{{{24|}}}|{{{delim|}}}{{{{{1}}}|{{{24}}}}}}}<!-- -->{{#if:{{{25|}}}|{{{delim|}}}{{{{{1}}}|{{{25}}}}}}}<!-- -->{{#if:{{{26|}}}|{{{delim|}}}{{{{{1}}}|{{{26}}}}}}}<!-- -->{{#if:{{{27|}}}|{{{delim|}}}{{{{{1}}}|{{{27}}}}}}}<!-- -->{{#if:{{{28|}}}|{{{delim|}}}{{{{{1}}}|{{{28}}}}}}}<!-- -->{{#if:{{{29|}}}|{{{delim|}}}{{{{{1}}}|{{{29}}}}}}}<!-- -->{{#if:{{{30|}}}|{{{delim|}}}{{{{{1}}}|{{{30}}}}}}}<!-- -->{{#if:{{{31|}}}|{{{delim|}}}{{{{{1}}}|{{{31}}}}}}}<!-- -->{{#if:{{{32|}}}|{{{delim|}}}{{{{{1}}}|{{{32}}}}}}}<!-- -->{{#if:{{{33|}}}|{{{delim|}}}{{{{{1}}}|{{{33}}}}}}}<!-- -->{{#if:{{{34|}}}|{{{delim|}}}{{{{{1}}}|{{{34}}}}}}}<!-- -->{{#if:{{{35|}}}|{{{delim|}}}{{{{{1}}}|{{{35}}}}}}}<!-- -->{{#if:{{{36|}}}|{{{delim|}}}{{{{{1}}}|{{{36}}}}}}}<!-- -->{{#if:{{{37|}}}|{{{delim|}}}{{{{{1}}}|{{{37}}}}}}}<!-- -->{{#if:{{{38|}}}|{{{delim|}}}{{{{{1}}}|{{{38}}}}}}}<!-- -->{{#if:{{{39|}}}|{{{delim|}}}{{{{{1}}}|{{{39}}}}}}}<!-- -->{{#if:{{{40|}}}|{{{delim|}}}{{{{{1}}}|{{{40}}}}}}}<!-- -->{{#if:{{{41|}}}|{{{delim|}}}{{{{{1}}}|{{{41}}}}}}}<!-- --></includeonly> 2640e3341b7922438ea7ca24bb5c1ae720c787cd 18 17 2010-01-02T05:58:15Z Joe 1 Protected "[[Template:Foreach]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki <includeonly><!-- -->{{#if:{{{2|}}}|<!-- -->{{<!-- -->{{{1}}}|{{{2}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{3|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{3}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{4|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{4}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{5|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{5}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{6|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{6}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{7|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{7}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{8|}}}|{{{delim|}}}{{{{{1}}}|{{{8}}}}}}}<!-- -->{{#if:{{{9|}}}|{{{delim|}}}{{{{{1}}}|{{{9}}}}}}}<!-- -->{{#if:{{{10|}}}|{{{delim|}}}{{{{{1}}}|{{{10}}}}}}}<!-- -->{{#if:{{{11|}}}|{{{delim|}}}{{{{{1}}}|{{{11}}}}}}}<!-- -->{{#if:{{{12|}}}|{{{delim|}}}{{{{{1}}}|{{{12}}}}}}}<!-- -->{{#if:{{{13|}}}|{{{delim|}}}{{{{{1}}}|{{{13}}}}}}}<!-- -->{{#if:{{{14|}}}|{{{delim|}}}{{{{{1}}}|{{{14}}}}}}}<!-- -->{{#if:{{{15|}}}|{{{delim|}}}{{{{{1}}}|{{{15}}}}}}}<!-- -->{{#if:{{{16|}}}|{{{delim|}}}{{{{{1}}}|{{{16}}}}}}}<!-- -->{{#if:{{{17|}}}|{{{delim|}}}{{{{{1}}}|{{{17}}}}}}}<!-- -->{{#if:{{{18|}}}|{{{delim|}}}{{{{{1}}}|{{{18}}}}}}}<!-- -->{{#if:{{{19|}}}|{{{delim|}}}{{{{{1}}}|{{{19}}}}}}}<!-- -->{{#if:{{{20|}}}|{{{delim|}}}{{{{{1}}}|{{{20}}}}}}}<!-- -->{{#if:{{{21|}}}|{{{delim|}}}{{{{{1}}}|{{{21}}}}}}}<!-- -->{{#if:{{{22|}}}|{{{delim|}}}{{{{{1}}}|{{{22}}}}}}}<!-- -->{{#if:{{{23|}}}|{{{delim|}}}{{{{{1}}}|{{{23}}}}}}}<!-- -->{{#if:{{{24|}}}|{{{delim|}}}{{{{{1}}}|{{{24}}}}}}}<!-- -->{{#if:{{{25|}}}|{{{delim|}}}{{{{{1}}}|{{{25}}}}}}}<!-- -->{{#if:{{{26|}}}|{{{delim|}}}{{{{{1}}}|{{{26}}}}}}}<!-- -->{{#if:{{{27|}}}|{{{delim|}}}{{{{{1}}}|{{{27}}}}}}}<!-- -->{{#if:{{{28|}}}|{{{delim|}}}{{{{{1}}}|{{{28}}}}}}}<!-- -->{{#if:{{{29|}}}|{{{delim|}}}{{{{{1}}}|{{{29}}}}}}}<!-- -->{{#if:{{{30|}}}|{{{delim|}}}{{{{{1}}}|{{{30}}}}}}}<!-- -->{{#if:{{{31|}}}|{{{delim|}}}{{{{{1}}}|{{{31}}}}}}}<!-- -->{{#if:{{{32|}}}|{{{delim|}}}{{{{{1}}}|{{{32}}}}}}}<!-- -->{{#if:{{{33|}}}|{{{delim|}}}{{{{{1}}}|{{{33}}}}}}}<!-- -->{{#if:{{{34|}}}|{{{delim|}}}{{{{{1}}}|{{{34}}}}}}}<!-- -->{{#if:{{{35|}}}|{{{delim|}}}{{{{{1}}}|{{{35}}}}}}}<!-- -->{{#if:{{{36|}}}|{{{delim|}}}{{{{{1}}}|{{{36}}}}}}}<!-- -->{{#if:{{{37|}}}|{{{delim|}}}{{{{{1}}}|{{{37}}}}}}}<!-- -->{{#if:{{{38|}}}|{{{delim|}}}{{{{{1}}}|{{{38}}}}}}}<!-- -->{{#if:{{{39|}}}|{{{delim|}}}{{{{{1}}}|{{{39}}}}}}}<!-- -->{{#if:{{{40|}}}|{{{delim|}}}{{{{{1}}}|{{{40}}}}}}}<!-- -->{{#if:{{{41|}}}|{{{delim|}}}{{{{{1}}}|{{{41}}}}}}}<!-- --></includeonly> 2640e3341b7922438ea7ca24bb5c1ae720c787cd Template:Tty cmds 10 12 48 2010-01-02T06:11:55Z Joe 1 Created page with ''''name@machine:/$'''&nbsp;{{{1}}}' wikitext text/x-wiki '''name@machine:/$'''&nbsp;{{{1}}} 96d22db1ab2fe3354dd41cc01a78ed1dd4c88252 49 48 2010-01-02T06:12:02Z Joe 1 Protected "[[Template:Tty cmds]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki '''name@machine:/$'''&nbsp;{{{1}}} 96d22db1ab2fe3354dd41cc01a78ed1dd4c88252 Template:Chmodexe 10 2 2 2010-01-02T07:10:58Z Joe 1 Created page with 'Create a new file, {{{1}}}<br /> Make your newly created file executable<br /> {{tty|cmd1=sudo chmod +x /path/to/{{{1}}}}} Save the code posted here to {{{1}}}}} and save.' wikitext text/x-wiki Create a new file, {{{1}}}<br /> Make your newly created file executable<br /> {{tty|cmd1=sudo chmod +x /path/to/{{{1}}}}} Save the code posted here to {{{1}}}}} and save. ff50f1845ebc3c7df091e99c615256c58cff7c93 3 2 2010-01-02T07:13:19Z Joe 1 wikitext text/x-wiki Create a new file, '''{{{1}}}'''<br /> Make your newly created file executable<br /> {{tty|cmd1=sudo chmod +x /path/to/{{{1}}}}} Save the code posted here to '''{{{1}}}''' then save. f6f677093f9d035830ac57c984748d9796ef0dd7 4 3 2010-01-02T07:13:30Z Joe 1 Protected "[[Template:Chmodexe]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki Create a new file, '''{{{1}}}'''<br /> Make your newly created file executable<br /> {{tty|cmd1=sudo chmod +x /path/to/{{{1}}}}} Save the code posted here to '''{{{1}}}''' then save. f6f677093f9d035830ac57c984748d9796ef0dd7 5 4 2010-01-02T07:25:25Z Joe 1 wikitext text/x-wiki Create a new file, '''{{{1}}}'''<br /> Make your newly created file executable<br /> {{tty|cmd1=sudo chmod +x /path/to/{{{1}}}}} Copy the code posted here to '''{{{1}}}''' then save. 3a7616703477f152bf07185a2658ea6415e9c024 6 5 2010-01-02T08:02:55Z Joe 1 wikitext text/x-wiki Create a new file, '''{{{1}}}'''<br /> Make your newly created file executable<br /> {{tty|cmd1=sudo chmod +x /path/to/{{{1}}}}} Copy the code posted here to '''{{{1}}}''' then save.<br /> And the good'ol '''Disclaimer''': This script worked for me and i hold no responsibility for what it does for you. 1d70ef3586822f3468812b91fad475454b929a0f Auto delete Subversion repository and ViewVC viewvc.conf entries 0 22 69 2010-01-02T08:14:26Z Joe 1 Protected "[[Auto delete Subversion repository and ViewVC viewvc.conf entries]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki {|align="right" |__TOC__ |} == What it does == The following bash script will (using 'sudo')... * List off dirs in your svn root dir * Have you enter the dir you want to delete * Delete the dir * Display your ViewVC 'svn_roots =' string * Make a back-up of your current viewvc.conf * Have you enter what to delete from 'svn_roots =' string * Display your ViewVC 'root_parents =' string * Have you enter what to delete from 'root_parents =' string '''Also see:''' [[Auto_create_new_Subversion_repository_and_New_entries_in_ViewVC_viewvc.conf]] == Walk through == When this script is run it will first list off all dirs in your Subversions main root dir {{tty|cmd1=<br />****** SVN Repository List ******<br /> ... nautilus_scripts<br /> ... New_Repo_dir<br /> ... perl_Scripts<br /> DELETE svn repository<br /> }} Lets say you want to delete '<b>New_Repo_dir</b>', the following will happen. {{tty|cmd1=<br />DELETE svn repository<br /> New_Repo_dir<br /> [sudo] password for "ROOT":<br /> - - - - - - - - - ViewVC svn_roots - - - - - - - - -<br /> TestViewName : /all/mySubversion/New_Repo_dir , perlScripts: /all/mySubversion/perl_Scripts, nautilusScripts: /all/mySubversion/nautilus_scripts<br /> - - - - - - - - - - - - - - - - - -<br /> DELETE svn_roots =<br /> }} Now you need to delete the ViewVC svn_roots Name and Path for '''New_Repo_dir''', so copy/paste the following to your terminal<br /> <pre>TestViewName : /all/mySubversion/New_Repo_dir ,</pre> and the following will happen {{tty|cmd1=<br />DELETE svn_roots =<br /> TestViewName : /all/mySubversion/New_Repo_dir ,<br /> - - - - - - - - - ViewVC root_parents - - - - - - - - -<br /> /all/mySubversion : TestViewName , /all/mySubversion : perlScripts , /all/mySubversion : nautilusScripts<br /> - - - - - - - - - - - - - - - - - -<br /> DELETE root_parents =<br /><br /> }} And finally you have to delete ViewVC root_parents <pre>/all/mySubversion : TestViewName ,</pre> {{tty|cmd1=<br />DELETE root_parents =<br /> /all/mySubversion : TestViewName , }} When deleting from ViewVC you have to be careful what you are doing. == The Script == {{chmodexe|svn_remove.sh}} <source lang="bash"> #!/bin/bash # *** CONFIG SETTINGS - Change to reflect your environment *** # # path where 'viewvc' is installed viewvc_config_path='/usr/local/viewvc-1.0.9'; # # root path where Subversion saves its repositories SVNpath='/all/mySubversion'; # # *** END OF CONFIG *** NOW=$(date +"%Y-%m-%d"); echo ''; echo '****** SVN Repository List ******'; # List off all DIR's in SVN's root (for easy copy/paste at next promt); ls -l "$SVNpath"; echo ''; # Enter the DIR of the repository which you want to delete echo 'DELETE svn repository'; read RPOname; # rm the dir if [[ $RPOname != '' ]] ; then sudo rm -R "$SVNpath/$RPOname"; fi # Print "Subversion roots (repositories)" entry from viewvc.conf viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^svn_roots |/\#'); # clean the print alittle viewvc=${viewvc/svn_roots = /}; viewvc=${viewvc/svn_roots =/}; viewvc=${viewvc/svn_roots= /}; viewvc=${viewvc/svn_roots=/}; echo '--------- ViewVC svn_roots ---------'; echo "$viewvc"; echo '------------------------------------'; # enter what you want to delete, MUST be exact echo 'DELETE svn_roots ='; read viewvcname; echo ''; if [[ $viewvcname != '' ]] ; then viewvcname=${viewvcname//\//\\/}; viewvcname=${viewvcname//:/\\:}; # exit ViewVC cd "$viewvc_config_path"; sudo cp viewvc.conf viewvc.pre."$RPOname.$NOW"; sudo sed -i "s/$viewvcname//" viewvc.conf # Print "Subversion root_parents (repositories)" entry from viewvc.conf viewvc=''; viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^root_parents |/\#'); viewvc=${viewvc/root_parents = /}; viewvc=${viewvc/root_parents =/}; viewvc=${viewvc/root_parents= /}; viewvc=${viewvc/root_parents=/}; echo '--------- ViewVC root_parents ---------'; echo "$viewvc"; echo '------------------------------------'; viewvcname=''; # enter what you want to delete, MUST be exact echo 'DELETE root_parents ='; read viewvcname; echo ''; if [[ $viewvcname != '' ]] ; then viewvcname=${viewvcname//\//\\/}; viewvcname=${viewvcname//:/\\:}; # exit ViewVC #cd /usr/local/viewvc-1.0.9 sudo cp viewvc.conf viewvc.pre."$RPOname.$NOW" sudo sed -i "s/$viewvcname//" viewvc.conf fi fi exit; </source> [[Category:Bash]][[Category:Subversion]][[Category:ViewVC]] fd8e98253f72262442cf0be34d508a8b65077c54 Template:Person 10 7 25 2010-01-02T08:35:56Z Joe 1 Created page with '{| border="0" align="left" |{{#if:{{{yearborn|}}}|Born {{{monthborn}}} {{{yearborn}}} |}}{{#if:{{{yeardied|}}}|<br /> Died {{{monthdied}}} {{{yeardied}}} |}} |} <includeonly> [[...' wikitext text/x-wiki {| border="0" align="left" |{{#if:{{{yearborn|}}}|Born {{{monthborn}}} {{{yearborn}}} |}}{{#if:{{{yeardied|}}}|<br /> Died {{{monthdied}}} {{{yeardied}}} |}} |} <includeonly> [[Category:People|{{{lastname}}}, {{{firstname}}}]] {{#if:{{{yearborn|}}}|[[Category:People born in the year of {{{yearborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthborn|}}}|[[Category:People born in the month of {{{monthborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{yeardied|}}}|[[Category:People died in the year of {{{yeardied}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthdied|}}}|[[Category:People died in the month of {{{monthdied}}}|{{{lastname}}}, {{{firstname}}}]]|}} </includeonly> 8d491b46bc24082aa6169633844801232106acd7 26 25 2010-01-02T08:36:04Z Joe 1 Protected "[[Template:Person]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki {| border="0" align="left" |{{#if:{{{yearborn|}}}|Born {{{monthborn}}} {{{yearborn}}} |}}{{#if:{{{yeardied|}}}|<br /> Died {{{monthdied}}} {{{yeardied}}} |}} |} <includeonly> [[Category:People|{{{lastname}}}, {{{firstname}}}]] {{#if:{{{yearborn|}}}|[[Category:People born in the year of {{{yearborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthborn|}}}|[[Category:People born in the month of {{{monthborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{yeardied|}}}|[[Category:People died in the year of {{{yeardied}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthdied|}}}|[[Category:People died in the month of {{{monthdied}}}|{{{lastname}}}, {{{firstname}}}]]|}} </includeonly> 8d491b46bc24082aa6169633844801232106acd7 27 26 2010-01-02T08:38:06Z Joe 1 wikitext text/x-wiki {| border="0" align="left" width="%100" |{{#if:{{{yearborn|}}}|Born {{{monthborn}}} {{{yearborn}}} |}}{{#if:{{{yeardied|}}}|<br /> Died {{{monthdied}}} {{{yeardied}}} |}} |} ---- <includeonly> [[Category:People|{{{lastname}}}, {{{firstname}}}]] {{#if:{{{yearborn|}}}|[[Category:People born in the year of {{{yearborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthborn|}}}|[[Category:People born in the month of {{{monthborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{yeardied|}}}|[[Category:People died in the year of {{{yeardied}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthdied|}}}|[[Category:People died in the month of {{{monthdied}}}|{{{lastname}}}, {{{firstname}}}]]|}} </includeonly> d3813890e9a920693f18ed0936f6964c5f453529 28 27 2010-01-02T08:38:41Z Joe 1 wikitext text/x-wiki <includeonly> [[Category:People|{{{lastname}}}, {{{firstname}}}]] {{#if:{{{yearborn|}}}|[[Category:People born in the year of {{{yearborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthborn|}}}|[[Category:People born in the month of {{{monthborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{yeardied|}}}|[[Category:People died in the year of {{{yeardied}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthdied|}}}|[[Category:People died in the month of {{{monthdied}}}|{{{lastname}}}, {{{firstname}}}]]|}} </includeonly> 0ea195a690c36805ff9787c795804b90f533a02f Abraham Lincoln 0 15 55 2010-01-02T08:43:17Z Joe 1 wikitext text/x-wiki {{Person |firstname=Abraham |lastname=Lincoln |birthplace= |yearborn=1809 |monthborn=February |dayborn=12 |yeardied=1865 |monthdied=April |daydied=15 }} == [[Abraham Lincoln/Quotes|Abraham Lincoln Quotes]] == {{:Abraham Lincoln/Quotes}} [[Category:Quotes|Lincoln, Abraham]] e34b3b57d2b3cf3e206432983e75c217a8098fef Anais Nin 0 19 63 2010-01-02T08:45:05Z Joe 1 wikitext text/x-wiki {{Person |firstname=Anais |lastname=Nin |birthplace= |yearborn=1903 |monthborn=February |dayborn=21 |yeardied=1977 |monthdied=January |daydied=14 }} == [[Anais Nin/Quotes|Anais Nin Quotes]] == {{:Anais Nin/Quotes}} [[Category:Quotes|Nin, Anais]] 20714e7b53b216eef4b9ab0c6073d508ed22c931 Albert Einstein 0 17 59 2010-01-02T08:46:49Z Joe 1 wikitext text/x-wiki {{Person |firstname=Albert |lastname=Einstein |birthplace= |yearborn=1879 |dayborn=14 |monthborn=March |yeardied=1955 |monthdied=April |daydied=18 }} == [[Albert Einstein/Quotes|Albert Einstein Quotes]] == {{:Albert Einstein/Quotes}} [[Category:Quotes|Einstein, Albert]] 5aa460fcca2e61b6991b25df11945337b3f0e47a Save list of users and the groups they belong to, to a file 0 41 109 2010-01-03T07:30:19Z Joe 1 wikitext text/x-wiki {{chmodexe|save_UsersAndGroups.sh}} <source lang="bash"> #!/bin/bash # 0 will list off /home/UserName's # 1 will list off all user accounts (www-data, mysql, daemon, syslog, etc.) allUsers=1; if [[ -e "UsersAndGroups.log" ]] ; then cat /dev/null > 'UsersAndGroups.log'; fi if [[ "$allUsers" == 1 ]] ; then gawk -F: '{ print $1 }' /etc/passwd > 'UsersAndGroups.log'; else ls /home > 'UsersAndGroups.log'; fi num=0 for user in `cat UsersAndGroups.log`; do users[$num]=$user; num=$(($num + 1)) done cat /dev/null > 'UsersAndGroups.log'; users_count=${#users[@]}; for (( i=0;i<$users_count;i++)); do groups ${users[${i}]} >> 'UsersAndGroups.log'; #groups ${users[${i}]}; done </source> [[Category:Bash]] 60d4a07e32cfb54aedd1aeeaf86dad03d5298b32 RTorrent links 0 37 101 2010-02-05T07:46:46Z Joe 1 Created page with '== Official Links == * [http://libtorrent.rakshasa.no/ Main Page] * [http://libtorrent.rakshasa.no/wiki/RTorrentCommandsRaw Raw Commands] * [http://libtorrent.rakshasa.no/wiki/R...' wikitext text/x-wiki == Official Links == * [http://libtorrent.rakshasa.no/ Main Page] * [http://libtorrent.rakshasa.no/wiki/RTorrentCommandsRaw Raw Commands] * [http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks Common Tasks] == Custom Config == * [http://tridactyla.org/2009/12/28/rtorrent-tracker-sorting/ Sorting torrent files on the fly with rTorrent - 12/28/09] _ [[Category:RTorrent|L]] 594def0794f35556b5804b31a6f68e7c93812d39 Ubuntu 8.04 Server utorrent 0 45 117 2010-02-06T05:54:16Z Joe 1 Created page with ''''libtool'''<br /> * Used libtool-2.2.tar.gz getting error, needs to be older... * http://ftp.gnu.org/gnu/libtool/ * https://launchpad.net/libtool/ '''libcurl'''<br /> * http:/...' wikitext text/x-wiki '''libtool'''<br /> * Used libtool-2.2.tar.gz getting error, needs to be older... * http://ftp.gnu.org/gnu/libtool/ * https://launchpad.net/libtool/ '''libcurl'''<br /> * http://curl.haxx.se/ '''libsigc++'''<br /> * http://curl.haxx.se/ [[Category:RTorrent]] 2ac2ab6a8d08eaaa768d1be59a774c9d7523c0ac Save file permissions to log file 0 40 107 2010-03-07T22:25:48Z Joe 1 wikitext text/x-wiki <source lang="bash"> #!/bin/bash folders[0]='bin'; folders[1]='boot'; folders[2]='dev'; folders[3]='etc'; folders[4]='initrd'; folders[5]='lib'; folders[6]='opt'; folders[7]='proc'; folders[8]='root'; folders[9]='sbin'; folders[10]='srv'; folders[11]='sys'; folders[12]='tmp'; folders[13]='usr'; folders[14]='var'; folders_count=${#folders[@]}; for (( i=0;i<$folders_count;i++)); do folder="${folders[${i}]}"; if [ -d /$folder ] && [ $folder != '/' ]; then echo "File permission search for folder /$folder"; sudo find "/$folder" -exec stat --format="chmod %a %n" "{}" \; > "$folder.permissions" fi done </source> dd3a272e09c67e609242977783e1b46bc94f8538 Bash: Working with files 0 23 71 2010-03-07T23:31:05Z Joe 1 wikitext text/x-wiki == Remove duplicate lines in file == <source lang="bash"> #Will sort file out-put sort -u file.in > file.out #Works same as above, sort file out-put sort file.in | uniq > file.out # Will remove duplicates and keep file in same order awk ' !x[$0]++' file.in > file.out</source> == Remove blank lines in file == <source lang="bash"> sed '/^$/d' input.txt > output.txt # or grep -v '^$' input.txt > output.txt # Loop dir, remove blank lines from all files files="/home/me/data/*.txt" for i in $files do sed '/^$/d' $i > $i.out mv $i.out $i done </source> == Read file line by line == <source lang="bash"> while read line do echo $line; done < "file.lst" </source> == Count lines in file == <source lang="bash">countTotal=$(awk 'END { print NR }' file.name); echo "$countTotal"; </source> == Check if file exists == <source lang="bash"> if [ -s "$file_name" ]; then echo 'yes'; fi </source> == Check if dir exists == <source lang="bash"> if [ -d "$folder_path" ]; then echo 'yes'; fi </source> [[Category:Bash|F]] 8d00666c2ac52363f3f577d03761c960cf1c490e Installing VirtualBox on Ubuntu server 0 33 91 2010-03-31T05:25:19Z Joe 1 wikitext text/x-wiki The following info took place on 03/30/2010 while SSH into Ubuntu 8.04 server and installing VirtualBox 3.1 This little howto was put together from bits-and-pieces of information i gathered while searching around along with two problems i ran into and how they where resolved. * Add the "non-free" Vbox repo to our sources.list, the current Virtual Box in the repository is a bit dated. {{tty|cmd1=sudo vi /etc/apt/sources.list}} Add the following to the bottom of the list, then save. <nowiki>deb http://download.virtualbox.org/virtualbox/debian hardy non-free</nowiki> * Get Sun's public key... {{tty|cmd1=<nowiki>sudo wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- &#124; sudo apt-key add -</nowiki>}} * Update and Upgrade the server {{tty|cmd1=sudo aptitude update|cmd2=sudo aptitude upgrade}} * Install the correct Linux Headers along with Vbox (v3.1) {{tty|cmd1=sudo aptitude install linux-headers-$(uname -r) build-essential virtualbox-3.1}} During the install i received an error<br /> '''<nowiki>* Modprobe vboxdrv failed. Please use 'dmesg' to find out why.</nowiki>'''<br /> I ran the follow which fixed the problem. {{tty|cmd1=sudo /etc/init.d/vboxdrv setup|cmd2=sudo /etc/init.d/vboxdrv start}} After that i tried to run the following to get alittle info about the Vbox host and received another error... {{tty|cmd1=[http://www.virtualbox.org/manual/ch08.html#id2535703 VBoxManage list hostinfo] Sun VirtualBox Command Line Management Interface Version 3.1.6<br /> (C) 2005-2010 Sun Microsystems, Inc.<br /> All rights reserved.<br /> ERROR: failed to create the VirtualBox object!<br /> ERROR: Error in /home/**USER**/.VirtualBox/VirtualBox.xml (line 3) -- Cannot handle settings version '1.2-linux'.<br /> /home/vbox/vbox-3.1.6/src/VBox/Main/VirtualBoxImpl.cpp[420] (nsresult VirtualBox::init())<br /> Details: code NS_ERROR_FAILURE (0x80004005), component VirtualBox, interface IVirtualBox, callee <NULL> }} So i opened up the '''/home/**USER**/.VirtualBox/VirtualBox.xml''' file and edited the following line, changing '''1.2-linux''' to '''1.3-linux'''<br /> '''<nowiki><VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.2-linux"></nowiki>'''<br /> Saved and now everything seams to be working good. _ [[category:VirtualBox]] d0f0c0d9b31a4d85d65aecb52286d97607a8d1e9 Download every number of mins - md5 compare chech sum of last and new 0 28 81 2010-03-31T05:30:19Z Joe 1 /* This one has to be run as a cron job. */ wikitext text/x-wiki ==This one will just run a loop.== You will have to run the script in terminal or else it will run forever. While the script is running in your terminal window, you can press the 'enter' key and it will exit the script. This script has to be saved in the save dir as which the files are being saved to. {{chmodexe|download_loop.sh}} <source lang="bash"> #!/bin/bash # change that number to how ever many minutes you are checking the site. timedelay=5; # URL to download from downloadURL='http://202.54.31.8/section/dwr/img/caz_chn.gif'; # the sleep command works off of seconds, so we have to convert the 'timedelay' minutes to seconds. sleepDelay=$((60 * $timedelay)); #print timedelay to screen... echo "======================================="; echo "Download image every $timedelay minutes"; echo "======================================="; echo "Press the 'enter' key to exit"; echo "======================================="; echo ""; #loop over the code while [ 1 ] do # this will get the current date (year and month) and time (hour and minute) CurrentTime=$(date +\%Y\%m\%d\%H\%M); # this will subtract what ever minute vause you asign to 'timedelay' from the CurrentTime LastTime=$(($CurrentTime - $timedelay)); # Download your image and save the file yyyymmhhmm.gif wget --output-document=$CurrentTime.gif $downloadURL # md5 check sum on the current file you downloaded and save results to 'test1' test1=`md5sum $CurrentTime.gif | awk '{print $1}'` # Check to see if old file exists, if so run check sum if [ -s "$LastTime.gif" ]; then # md5 check sum on the last file you downloaded and save results to 'test2' test2=`md5sum $LastTime.gif | awk '{print $1}'` # compair 'test1' to 'test2', if they both have the same check sum, delete the last downloaded image if [ "$test1" == "$test2" ]; then rm "$LastTime.gif"; fi fi # pause's for a set number of seconds and checks tty to see if the 'enter' has been pressed during the pause, if so, exit loop read -t $sleepDelay && break #pause - another way to pause the loop #sleep $sleepDelay; #continue loop done </source> == This one has to be run as a cron job. == {{chmodexe|download_loop.sh}} <source lang="bash"> #!/bin/bash # change that number to how ever many minutes you are checking the site (matching your con-job time). timedelay=1; # URL to download from downloadURL='http://202.54.31.8/section/dwr/img/caz_chn.gif'; # Path to save folder on your computer... # Do *not* end with a foward / slash # Example - saveFolder='/path/to/save/dir'; saveFolder='/path/to/save/dir'; # this will get the current date (year and month) and time (hour and minute) CurrentTime=$(date +\%Y\%m\%d\%H\%M); # this will subtract what ever minute you asign to 'timedelay' from the CurrentTime so it can check the last file saved LastTime=$(($CurrentTime - $timedelay)); # Download your image and save the file yyyymmhhmm.gif wget --output-document="$saveFolder/$CurrentTime.gif" $downloadURL; # md5 check sum on the current file you downloaded and save results to 'test1' test1=`md5sum "$saveFolder/$CurrentTime.gif" | awk '{print $1}'`; # Check to see if old file exists, if so run check sum if [ -s "$saveFolder/$LastTime.gif" ]; then # md5 check sum on the last file you downloaded and save results to 'test2' test2=`md5sum "$saveFolder/$LastTime.gif" | awk '{print $1}'`; # compair 'test1' to 'test2', if they both have the same check sum, delete the last downloaded image if [ "$test1" == "$test2" ]; then rm "$saveFolder/$LastTime.gif"; fi fi exit </source> [[Category:Bash]] 2a1e2471904c6969f12bc36aaa9fd8201908694f Auto create new Subversion repository and New entries in ViewVC viewvc.conf 0 21 67 2010-03-31T05:46:54Z Joe 1 /* Walk through */ wikitext text/x-wiki {|align="right" |__TOC__ |} == What it does == The following bash script will (using 'sudo')... * Create new dir for repository based on the 'SVNpath' variable defined at the top of the script * chown new dir with username and group based on 'OwnName' and 'GroupName' variables defined at the top of the script * chmod new dir to 0777 (i use this on a local server so its relaxed) * svnadmin create (with --fs-type fsfs '''or''' not) based on the 'svnFileSystem_fsfs' variable * Back-up your current viewvc.conf * Edit viewvc.conf ''svn_roots ='' * Edit viewvc.conf ''root_parents ='' '''Also see:''' [[Auto_delete_Subversion_repository_and_ViewVC_viewvc.conf_entries]] == Walk through == When this script is run it will ask you for the name of the svn repository you want to create: {{tty|cmd1=New svn repository name=<br />}} Lets say you create a new repository by the name of '<b>New_Repo_dir</b>' After you key in the name and hit enter, the script will do the following. {{tty |cmd1=New svn repository name=<br />New_Repo_dir New repository name will be New_Repo_dir<br /> [sudo] password for "ROOT":<br /> -> mkdir /path/to/repo/New_Repo_dir<br /> -> chown -R Owner:Group /path/to/repo/New_Repo_dir<br /> -> chmod 0777 -R /path/to/repo/New_Repo_dir<br /> -> svnadmin create /path/to/repo/New_Repo_dir --fs-type fsfs<br /> }} Then it will ask for the name which ViewVC will use {{tty|cmd1=ViewVC name=<br />}} Lets say you create a new ViewVC root name of '<b>TestViewName</b>' After you key in the name and hit enter, the script will back-up your current viewvc.conf (''viewvc.pre.New_Repo_dir.date''), edit your viewvc.conf and then display change. {{tty|cmd1=ViewVC name=<br />TestViewName - - - - - - ViewVC svn_roots - - - - - -<br /> svn_roots = TestViewName : /path/to/repo/New_Repo_dir, otherName : /path/to/repo/otherOne, NameFromYesterDay : /path/to/repo/NameFromYesterDay,<br /> - - - - - - - - - - - - - - - - - - - - - - - -<br /> - - - - - - - ViewVC root_parents - - - - - -<br /> root_roots = /path/to/repo/New_Repo_dir : TestViewName ,/path/to/repo/otherOne : otherName ,/path/to/repo/NameFromYesterDay : NameFromYesterDay<br /> - - - - - - - - - - - - - - - - - - - - - - - - }} == The Script == {{chmodexe|svn_create.sh}} <source lang="bash"> #!/bin/bash # *** CONFIG SETTINGS - Change to reflect your environment *** # # path where 'viewvc' is installed viewvc_config_path='/usr/local/viewvc-1.0.9'; # # root path where Subversion saves its repositories SVNpath='/all/mySubversion'; # # Filesystem to be used for SVN # 1 = FSFS # 0 = Berkeley DB-based svnFileSystem_fsfs='1'; # # Owner name for newly created svn repo dir OwnName='root'; # Group name name for newly created svn repo dir GroupName='subversion'; # # *** END OF CONFIG *** # used for backing up 'viewvc.conf' file NOW=$(date +"%Y-%m-%d"); # print to tty echo 'New svn repository name='; # get results, save to 'RPOname' var read RPOname; # exit - if no name is created if [[ $RPOname == '' ]] ; then exit; fi echo "New repository name will be $RPOname"; sudo mkdir "$SVNpath/$RPOname"; echo '-> mkdir ' "$SVNpath/$RPOname"; sudo chown -R "$OwnName:$GroupName" "$SVNpath/$RPOname"; echo '-> chown -R ' "$OwnName:$GroupName" "$SVNpath/$RPOname"; sudo chmod 0777 -R "$SVNpath" echo '-> chmod 0777 -R' "$SVNpath"; if [[ $svnFileSystem_fsfs == 1'' ]] ; then svnadmin create "$SVNpath/$RPOname" --fs-type fsfs; echo '-> svnadmin create' "$SVNpath/$RPOname" --fs-type fsfs; else svnadmin create "$SVNpath/$RPOname"; echo '-> svnadmin create' "$SVNpath/$RPOname"; fi # print to tty - Named used for ViewVC echo 'ViewVC name='; # get results, save to 'ViewVCname' var read ViewVCname; if [[ $ViewVCname != '' ]] ; then # need to excape / with \/ for the sed replace SVNpath=${SVNpath//\//\\/}; # change to ViewVC's dir cd "$viewvc_config_path" # Backup viewvc.conf with SVN dir name and date sudo cp viewvc.conf viewvc.pre."$RPOname.$NOW" # replace 'svn_roots = ' and 'root_parents = ' with the new names and paths sudo sed -i "s/svn_roots \= /svn_roots \= $ViewVCname \: $SVNpath\/$RPOname , /" viewvc.conf sudo sed -i "s/root_parents \= /root_parents \= $SVNpath \: $ViewVCname , /" viewvc.conf viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^svn_roots |/\#'); echo '--------- ViewVC svn_roots ---------' echo "$viewvc"; echo '------------------------------------' viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^root_parents |/\#'); echo '--------- ViewVC root_parents ---------' echo "$viewvc"; echo '------------------------------------' fi exit; </source> [[Category:Bash]][[Category:Subversion]][[Category:ViewVC]] 27641afff21b25067e58164131f29dfa844b3ee8 VirtualBox Links 0 47 121 2010-04-03T03:55:43Z Joe 1 Created page with '== python Scripts == * While searching for info to create my own Bash utility i stumbled across this python script <br /> [http://retoros.org/blog/2009-12-19/lattera/virtualbox-h...' wikitext text/x-wiki == python Scripts == * While searching for info to create my own Bash utility i stumbled across this python script <br /> [http://retoros.org/blog/2009-12-19/lattera/virtualbox-headless-script-createdelete-vm VirtualBox Headless Script to Create/Delete VM] [[category:VirtualBox]] 7cfa320a11993877888810671f0b18b7343f0e19 Template:Toc 10 10 35 2010-04-04T06:40:47Z Joe 1 Created page with '{| align="right" |- | __TOC__ |}' wikitext text/x-wiki {| align="right" |- | __TOC__ |} c9471289b22bdb17e325725b784f447b939ee5a9 36 35 2010-04-04T06:40:56Z Joe 1 Protected "[[Template:Toc]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki {| align="right" |- | __TOC__ |} c9471289b22bdb17e325725b784f447b939ee5a9 Virtualbox Command Line Utility/1.0.0 0 49 125 2010-04-06T07:16:21Z Joe 1 Protected "[[Virtualbox Command Line Utility/1.0.0]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki <source lang="bash"> #!/bin/bash </source> fcbef2903a06869d1d02345788d7d564fdaf238e Virtualbox Command Line Utility 0 48 123 2010-04-06T07:20:32Z Joe 1 wikitext text/x-wiki The following [[:category:bash|Bash]] script was created to make controlling [http://virtualbox.org Virtualbox] from the command line a little easier. This script was created while using Virtualbox 3.1.6<br /> Tested on: * Virtualbox 3.1.6 {{toc}} == Configure == The script itself has one config setting: <b>'viewYNinMenu'</b><br /> After any/all option menus are displayed, you can have a second question asked: <code>"You choose '$this' (y/n)?"</code><br /> Setting <b>'viewYNinMenu'</b> to 1 will enable this second question, setting <b>'viewYNinMenu'</b> to 0 the second question will not be asked. == Main Menu Options == [[File:Vbox utily mainmenu.jpg]] === Create New vm Guest === Function called <code>createNewVM()</code> You will be asked a few questions * New guest name * Menu: What OS (choices from <code>VBoxManage list ostypes</code>) [[File:Vbox utily select os.jpg]] * Path to .iso * Memory Size * Harddrive Size * .vdi file name (or file name and path if you want to store the .vdi file else where) Default: ~/.VirtualBox/HardDisks/ * The variables at the top of the <code>createNewVM()</code> functon will be used for the rest of the options <br />boot1, boot2, clipboard, acpi, ioapic, pae, nestedpaging, cpus, synthcpu, hwvirtex, vtxvpid, snapshotfolder, vram, accelerate3d, accelerate2dvideo, vrdp, vrdpport, vrdpauthtype, vrdpmulticon, storagectl, storagect2, floppy, usb, usbehci, audio, audiocontroller, nic1, nictype1, cableconnected1 After the questions are asked, the script will display your answers with a final prompt to create. Then you will be asked if you want to Start the guest (in "Headless" mode) <code>VBoxHeadless -startvm [name]</code> === DELETE Guest === ............ === Power Management === Uses <code>selectPowerManagement()</code><br /> Questions asked: * Menu: What guest to work with * Menu: Power Options [[File:Vbox_utily_powermangmant.jpg]]<br /> === Add DVD iso === .............. === Add shared folder === Calls <code>workWithShareFolders()</code><br /> Lets you add a new Shared Folder to a guest.<br /> Questions asked: * Menu: What guest to work with * Host path to Shared folder * Share folder name * readonly * transient * Then the final "do you want to do this (y/n)" New shared folders can only be added to guests which are not running.<br /> If the guest is running you will be prompted:<br /> [[File:Vbox_utily_sharedfolder.jpg]] === Add storage (harddrive) === ........... === Remove DVD iso === ............... === Remove shared folder === Calls <code>workWithShareFolders()</code><br /> Lets you remove a Shared Folder from a guest.<br /> Questions asked: * Menu: What guest to work with * Menu: Listing the names of the current shared folders * transient * Then the final "do you want to do this (y/n)" Just like adding a new Shared Folder, guest must be off. === Remove storage (harddrive) === ........... === Select Guest and showvminfo === Calls <code>askWhatVM_thenDisplayInfo()</code> <source lang="bash">askWhatVM_thenDisplayInfo "Select guest to view" 1</source> === Display "VBoxManage list" options === Displays menu for <code>VBoxManage list</code><br /> This can be edited in the <code>displayVBoxManageList()</code><br /> [[File:Vbox utily vboxmanage list.jpg]] === Command line === Lets you work with the terminal command line with-out exiting the script == Functions == === startUpQuestions() === === askWhatVM_thenDisplayInfo() === This function will: # Create a Menu parsing <code>VBoxManage list vms</code> out-put and displaying the names of the Guests installed on the host.<br /> [[File:VboxUtily select guest.jpg]] # "Returns" some information # Display <code>VBoxManage showvminfo [vmaname]</code> if argument is passed Arguments passed into function: * Question (string)<br />This function can be called for different reasons so we pass the "question" to it * Display <code>VBoxManage showvminfo [vmaname]</code> (int)<br />Thought an option to display the Guest info would be nice. Returns an "Array" * arr[0] = Name * arr[1] = UUID * arr[2] = 1st Controller * arr[3] = 2nd Controller * arr[4] = Shared folders * arr[5] = State (running, saved, off, etc.) Usage: <source lang="bash"> # mock-up # Just ask question and get results with out displaying 'VBoxManage showvminfo' tmpArr=( $(askWhatVM_thenDisplayInfo "Add iso to DVD for ?") ) vmGuestName="${tmpArr[0]}" vmGuestUUID="${tmpArr[1]}" ...... ...... VBoxManage storageattach "$vmGuestUUID".... </source> OR <source lang="bash"> # Display info from 'VBoxManage showvminfo' askWhatVM_thenDisplayInfo "Display info for guest ?" 1 ; </source> === displayVBoxManageList() === === workWithShareFolders() === This function will first display a menu to choose what guest to work with via the <code>askWhatVM_thenDisplayInfo()</code> function. After it gets the results from askWhatVM_thenDisplayInfo it will do a check to see what 'state' the guest is in, if guest is not in the 'powered off' state, another menu will appear where you can turn off the guest with one of the <code>VBoxManage controlvm</code> options (''pause|resume|reset|poweroff|savestate|acpipowerbutton|acpisleepbutton''). After machine is turned off a list of current shared folders will be displayed and depending on why you are calling this function (adding a new Share or removing a Share) you will be asked acouple questions. Adding Shared Folder: * Host path to Shared folder * Share folder name * readonly * transient * Then the final "do you want to do this (y/n)" Removing Shared Folder: * A menu will appear listing the names of the current shared folders * transient * Then the final "do you want to do this (y/n)" If you select "no" to the "do you want to do this (y/n)" questions, you will be brought back to the main menu. Arguments passed into function: * "todo" (string) - adding or removing === workWithDVD() === Calls <code> </code> Arguments passed into function: * "Question" (string) * "todo" (string) === createNewVM() === At the top of this function you ca set a bunch of variables which will be used during the creation of a new vm guest. === choose_OSfromList() === === askQuestion() === === displayOptions() === === selectPowerManagement() === Calls <code>askWhatVM_thenDisplayInfo()</code> and <code>powerOffSaveState()</code><br /> === powerOffSaveState() === Calls <code>displayOptions()</code> and <code>loopPowerState()</code><br /> === loopPowerState() === Arguments passed into function: * vmID (string) * stateOrg (string) When this function is called it will loop <code>VBoxManage showvminfo [vmID]</code>, grab the current 'state' of the guest and compare that to the passed 'stateOrg'. When the current state is different then the passed 'stateOrg' it will break the loop. This is used mainly for shutting down a machine with <code>VBoxManage controlvm [name] acpipowerbutton</code> during changes to a guest which require the guest to be turned off. Since it takes alittle while for a guest to shut down, this loop let you know when the guest is off. == Thanks to == '''[http://ubuntuforums.org/member.php?u=243323 geirha]'''<br /> Roughly a year ago i made the switch to Ubuntu (from Windows). Through that time I've been learning Bash when time permits and for this "project", geirha has been a great help and has taught me so much. Thank you. == The script == {{:Virtualbox_Command_Line_Utility/1.0.0}} [[Category:VirtualBox]] 0f4d707ed46a1420dab7eb38213ffcc9dcdd87ba Installing Lucid Lynx 0 31 87 2010-04-13T07:43:35Z Joe 1 wikitext text/x-wiki {{toc}} == [[Installing Lucid Lynx Desktop on ASUS M2N-SLI Deluxe and GeForce 8800 GTS|Desktop - GeForce 8800 GTS & ASUS M2N-SLI Deluxe]] == {{:Installing Lucid Lynx Desktop on ASUS M2N-SLI Deluxe and GeForce 8800 GTS}} [[category:Ubuntu]] 0cffc28b49e96a920e15c238f61bcd200426208a Restoring Ubuntu default file permissions 0 38 103 2010-04-13T07:45:19Z Joe 1 wikitext text/x-wiki Made a big mistake and ran the following as root ('''do <i>NOT</i> do this''') while logged into my 8.04 server via SSH.{{tty |cmd1=chmod -R 0777 /* }} Searched the net trying to find a way to restore all the files and dir's to there default permissions only to find the common "re-install" the operating system responce, which i did not want to do. The idea to install Ubuntu as a Virtual machine using [http://www.virtualbox.org/ VirtualBox], creating a script to log the fresh installs file permissions and then use that "permissions" log to change the broken servers permissions back to normal came to mind, so that is what this article is about. So here is what i did... '''1)''' Downloaded and installed the correct version (matching the version of the Broken Machine) of Ubuntu to a Virtual machine '''(*''' make sure you create a large enough Virtual hard-drive to install Ubuntu ''and'' all the programs you have installed on your broken machine ''')'''. '''2)''' Ran the following on the broken machine to get a list of all programs installed.<br /> This will be used to install the same programs on the Virtual machine to retrieve the correct file permissions for those programs. {{tty |cmd1=dpkg --get-selections > /path/to/installed-software.log }} '''3)''' Ran the following on the Virtual machine.<br /> This will freshly install all the programs which are currently installed on the broken machine to the Virtual machine. {{tty |cmd1=sudo apt-get install dselect |cmd2=sudo dpkg --set-selections < /path/to/installed-software.log |cmd3=sudo dselect }} '''4)''' Created a new folder on the ''Virtual machine'' and named it /filepermissions/<br> The first script below will create a separate log file for each "top level" dir on the drive and save them in the new /filepermissions/ folder. '''5)''' In 'root', ran this script on the ''Virtual machine''...<br /> This is the script which will create the "permission log file".<br /> {{chmodexe|/filepermissions/log_file_permissions.sh}} <source lang="bash"> #!/bin/bash folders[0]='bin'; folders[1]='boot'; folders[2]='dev'; folders[3]='etc'; folders[4]='initrd'; folders[5]='lib'; folders[6]='opt'; folders[7]='proc'; folders[8]='root'; folders[9]='sbin'; folders[10]='srv'; folders[11]='sys'; folders[12]='tmp'; folders[13]='usr'; folders[14]='var'; # Add to the 'folders' array if you need to... folders_count=${#folders[@]}; for (( i=0;i<$folders_count;i++)); do folder="${folders[${i}]}"; if [ -d /$folder ] && [ $folder != '/' ]; then echo "File permission search for folder /$folder"; sudo find "/$folder" -exec stat --format="chmod %a %n" "{}" \; > "$folder.permissions" fi done </source> '''6)''' In 'root', copied the ''/filepermissions/'' folder with all its log files from the Virtual machine to the Broken Machine and then ran this script on the ''Broken machine''...<br /> {{chmodexe|/filepermissions/change_file_permissions_from_log.sh}} <source lang="bash"> #!/bin/bash permFiles="*.permissions"; for f in *.permissions; do echo "Setting permissions for '$f'"; if [ "$f" != "$permFiles" ] ; then while read line do $line; done < "$f" fi done </source> While running that last script on the Broken Machine, there where some errors about files which where missing, but in the end everything seamed to be working fine. All known problems where corrected. There are a couple of programs, [http://www.viewvc.org/ viewvc], [http://libtorrent.rakshasa.no/ rtorrent] and a few others which i have re-installed manually since they where originally installed via a download from the devs site. This process too a long time but, to me, it seamed eazyer then having to re-configure the server from scratch. _ [[category:Ubuntu]] [[category:Bash]] 9696fef9580a2a2a51a5bbdefcb642f353619a81 Installing Lucid Lynx Desktop on ASUS M2N-SLI Deluxe and GeForce 8800 GTS 0 32 89 2010-04-13T08:05:09Z Joe 1 wikitext text/x-wiki My experience installing Ubuntu Lucid Lynx (10.04 '''Beta II''') Desktop(64) on a ASUS M2N-SLI Deluxe mother board and a (single) GeForce 8800 GTS video card. The current computer has WinXP(32) and WinXP(64) installed (dual boot) so the LucidLynx install will be a "trice" boot. Burned the Lucid iso, popped it into the machine, restarted and... === Install problem (GeForce driver problem) === * Machine when't strait to running a live session (which was unexpected, maybe a Beta bug) and then hung on the Ubuntu logo * Rebooted (hit the reset button on front of computer) * At the first ubuntu image i hit the up arrow on the key board which brought up a menu * Selected 'Install' from the Ubuntu menu and hit 'enter'. * Machine started to load and then hung again on the Ubuntu logo * Rebooted (hit the reset button on front of computer) * At the Ubuntu menu cursored down to 'install' after that hit F6 which brought up another menu, hit escape (to close that menu) and then removed '''quiet splash--''' from the command string just above the F-options. * Hit 'enter' to continue the install Install when't fine after that. === Cant get to desktop, video driver problem === To be continued... === No sound === To be continued... ec77be93c2e6c2af334964d72fef3bf4620e12a0 Template:Computer specs 10 3 8 2010-10-10T02:57:14Z Joe 1 Created page with "{| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{{motherboard}}} |- |valign=top| '''Processor''': |valign=top| {{{pc}}} |- |valign=top| '''Memory''': |valig..." wikitext text/x-wiki {| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{{motherboard}}} |- |valign=top| '''Processor''': |valign=top| {{{pc}}} |- |valign=top| '''Memory''': |valign=top| {{{memory}}} |- |valign=top| '''Video card''': |valign=top| {{{video}}} |- |valign=top| '''HDD(s)''': |valign=top|{{{hdd}}} |- |valign=top| '''O/S''': |valign=top| {{{os}}} |- |valign=top| '''Main programs installed''': |valign=top| {{{apps}}} |} <includeonly> [[category:computers]] </includeonly> 85c2bbdf5d8d677234e69d44ce8476d24ffebcb0 9 8 2010-10-10T02:57:24Z Joe 1 Protected "[[Template:Computer specs]]" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) wikitext text/x-wiki {| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{{motherboard}}} |- |valign=top| '''Processor''': |valign=top| {{{pc}}} |- |valign=top| '''Memory''': |valign=top| {{{memory}}} |- |valign=top| '''Video card''': |valign=top| {{{video}}} |- |valign=top| '''HDD(s)''': |valign=top|{{{hdd}}} |- |valign=top| '''O/S''': |valign=top| {{{os}}} |- |valign=top| '''Main programs installed''': |valign=top| {{{apps}}} |} <includeonly> [[category:computers]] </includeonly> 85c2bbdf5d8d677234e69d44ce8476d24ffebcb0 Template:Computer specs 10 3 10 9 2010-10-10T03:20:36Z Joe 1 wikitext text/x-wiki {| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{{motherboard}}} |- |valign=top| '''Processor''': |valign=top| {{{pc}}} |- |valign=top| '''Memory''': |valign=top| {{{memory}}} |- |valign=top| '''Power Supply''': |valign=top|{{{psu}}} |- |valign=top| '''Video card''': |valign=top| {{{video}}} |- |valign=top| '''HDD(s)''': |valign=top|{{{hdd}}} |- |valign=top| '''DVD(s)''': |valign=top|{{{dvd}}} |- |valign=top| '''O/S''': |valign=top| {{{os}}} |- |valign=top| '''Main programs installed''': |valign=top| {{{apps}}} |} <includeonly> [[category:computers]] </includeonly> 21d3314855577eb83d258a3f9f9d5e180182511b 11 10 2010-10-10T03:21:58Z Joe 1 wikitext text/x-wiki {| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{{motherboard}}} |- |valign=top| '''Processor''': |valign=top| {{{pc}}} |- |valign=top| '''Memory''': |valign=top| {{{memory}}} |- |valign=top| '''Power Supply''': |valign=top|{{{psu}}} |- |valign=top| '''Video card''': |valign=top| {{{video}}} |- |valign=top| '''HDD(s)''': |valign=top|{{{hdd}}} |- |valign=top| '''DVD(s)''': |valign=top|{{{dvd}}} |- |valign=top| '''Extras''': |valign=top|{{{extras}}} |- |valign=top| '''O/S''': |valign=top| {{{os}}} |- |valign=top| '''Main programs installed''': |valign=top| {{{apps}}} |} <includeonly> [[category:computers]] </includeonly> 7aa00ce3119d9758a8b7aed527aff4c21c29322a 12 11 2010-10-10T03:37:39Z Joe 1 wikitext text/x-wiki {| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{{motherboard}}} |- |valign=top| '''Processor''': |valign=top| {{{pc}}} |- |valign=top| '''Memory''': |valign=top| {{{memory}}} |- |valign=top| '''Power Supply''': |valign=top|{{#if:{{{psu}}}|{{{psu}}}|}} |- |valign=top| '''Video card''': |valign=top| {{{video}}} |- |valign=top| '''HDD(s)''': |valign=top|{{{hdd}}} |- |valign=top| '''DVD(s)''': |valign=top|{{#if:{{{dvd}}}|{{{dvd}}}|}} |- |valign=top| '''Extras''': |valign=top|{{#if:{{{extras}}}|{{{extras}}}|}} |- |valign=top| '''O/S''': |valign=top| {{{os}}} |- |valign=top| '''Main programs installed''': |valign=top| {{#if:{{{apps}}}|{{{apps}}}|}} |} <includeonly> [[category:computers]] </includeonly> 96940b24cee8d3a423274c4b6fad0e7b24307783 13 12 2010-10-10T03:42:54Z Joe 1 wikitext text/x-wiki {| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{#if:{{{motherboard|}}}|{{{motherboard}}}|}} |- |valign=top| '''Processor''': |valign=top| {{#if:{{{pc|}}}|{{{pc}}}|}} |- |valign=top| '''Memory''': |valign=top| {{#if:{{{memory|}}}|{{{memory}}}|}} |- |valign=top| '''Power Supply''': |valign=top|{{#if:{{{psu|}}}|{{{psu}}}|}} |- |valign=top| '''Video card''': |valign=top| {{#if:{{{video|}}}|{{{video}}}|}} |- |valign=top| '''HDD(s)''': |valign=top|{{#if:{{{hdd|}}}|{{{hdd}}}|}} |- |valign=top| '''DVD(s)''': |valign=top|{{#if:{{{dvd|}}}|{{{dvd}}}|}} |- |valign=top| '''Extras''': |valign=top|{{#if:{{{extras|}}}|{{{extras}}}|}} |- |valign=top| '''O/S''': |valign=top| {{#if:{{{os|}}}|{{{os}}}|}} |- |valign=top| '''Main programs installed''': |valign=top| {{#if:{{{apps|}}}|{{{apps}}}|}} |} <includeonly> [[category:computers]] </includeonly> 0e22bcc3b4ee8fdbd04b884910113895f72ebb25 14 13 2020-12-06T22:59:22Z Joe 1 6 revisions imported wikitext text/x-wiki {| class="wikitable" |- |valign=top| '''Motherboard''': |valign=top| {{#if:{{{motherboard|}}}|{{{motherboard}}}|}} |- |valign=top| '''Processor''': |valign=top| {{#if:{{{pc|}}}|{{{pc}}}|}} |- |valign=top| '''Memory''': |valign=top| {{#if:{{{memory|}}}|{{{memory}}}|}} |- |valign=top| '''Power Supply''': |valign=top|{{#if:{{{psu|}}}|{{{psu}}}|}} |- |valign=top| '''Video card''': |valign=top| {{#if:{{{video|}}}|{{{video}}}|}} |- |valign=top| '''HDD(s)''': |valign=top|{{#if:{{{hdd|}}}|{{{hdd}}}|}} |- |valign=top| '''DVD(s)''': |valign=top|{{#if:{{{dvd|}}}|{{{dvd}}}|}} |- |valign=top| '''Extras''': |valign=top|{{#if:{{{extras|}}}|{{{extras}}}|}} |- |valign=top| '''O/S''': |valign=top| {{#if:{{{os|}}}|{{{os}}}|}} |- |valign=top| '''Main programs installed''': |valign=top| {{#if:{{{apps|}}}|{{{apps}}}|}} |} <includeonly> [[category:computers]] </includeonly> 0e22bcc3b4ee8fdbd04b884910113895f72ebb25 Gaming & Media Specs 0 29 83 2010-10-10T03:26:11Z Joe 1 wikitext text/x-wiki {{computer_specs |motherboard=[http://www.asus.com/Product.aspx?P_ID=szSFtrap7crpBaQE M2N-SLI Deluxe] |pc=AMD - A64 X2 6400+ 3.2G AM2 2M |memory=G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory Model F2-6400CL5D-4GBPQ |os=Dual Boot<br />[http://releases.ubuntu.com/lucid/ Ubuntu Lucid] (10.04.x) Desktop edition<br />Windows XP |hdd=Hitachi Deskstar 7K1000.C 1TB 1000GB Hard Drive SATA2 7200RPM 32MB |video=[http://www.nvidia.com/page/geforce8.html GeForce 8800 GTS (320MB)] |dvd=BURN LITE-ON - LH-20A1S OEM BK |psu=SEASONIC - SS-700HM 700W |extras=CARD RD - SUPER TALENT INT-AIN1-C RTL |apps= }} c5d02fb79c69174a58a862795aa7302f27691281 Upgrading iPod 80GB (5.5 Generation) Harddrive to MK2431GAH (240GB) 0 46 119 2011-07-03T23:39:17Z Joe 1 /* Partitioning */ wikitext text/x-wiki Running [http://rockbox.org RockBox] bios & software Links and resources used:<br /> * Choosing harddrive<br/> http://www.rockbox.org/wiki/HardDriveReplacement * RockBox ("large HDD") software support (version 3.6 +) <br /> http://www.rockbox.org/wiki/MajorChanges * Partitioning and formatting via Linux<br/> http://www.rockbox.org/wiki/IpodManualRestore * iPod "commands" <br/> http://www.command-tab.com/2006/03/30/hidden-ipod-commands/ * Upgrade HowTo <br /> http://www.command-tab.com/2007/03/11/upgrading-ipod-hard-drives/ == Partitioning == 1) Started iPod in 'Disk Mode' (holding the Select and Play buttons (while disconnected from computer))<br /> 2) Pluged iPod into computer<br /> 3) Made sure the the iPod was not mounted, this is important.<br /> 4) Find the iPods disk path (my path was <code>/dev/sdf</code> so that is what i will use for the rest of this article): {{tty|cmd1=sudo fdisk -l}} 5) I made sure that there was no partitions on the iPod (if so i deleted them, then ran <code>partprobe</code> to re-read partition table): {{tty|cmd1=sudo fdisk /dev/sdf |cmd2=sudo partprobe /dev/sdf}} 6) In terminal, change to the dir which holds the <code>mbr-xxxx.bin</code> file then "extract" to iPod with the following: {{tty|cmd1=dd if=mbr-*.bin of=/dev/sdf}} 7)Re-read iPods MBR{{tty|cmd1=sudo hdparm -z /dev/sdf}} 8)Install the Firmware.xxx.ipsw file to iPod.{{tty|cmd1=sudo hdparm -z /dev/sdf}} f848f4a27ecf3bbbb78394deffa85f8969b7fbfb Home Server Specs 0 30 85 2012-07-04T18:43:17Z Joe 1 wikitext text/x-wiki {{computer_specs |motherboard=[http://www.supermicro.com/products/motherboard/Xeon3000/3200/X7SBL-LN2.cfm Supermicro X7SBL] |pc=[http://ark.intel.com/Product.aspx?id=33933 Intel(R) Xeon(R) CPU X3360 @ 2.83GHz] |memory=(2x) Crucial 4GB (2 x 2GB) 240-Pin DDR2 SDRAM ECC Unbuffered DDR2 667 (PC2 5300) Dual Channel Kit Server Memory Model [http://www.crucial.com/store/partspecs.aspx?imodule=ct2kit25672aa667 CT2KIT25672AA667] |os=[http://releases.ubuntu.com/lucid/ Ubuntu Lucid] (10.04.x) server edition |hdd=(1x) Maxtor DiamondMax Plus 10 SATA150 200GB (''main drive'')<br /> (2x) Western Digital Caviar Green WD5000AADS 500GB 32MB Cache SATA 3.0Gb (''Mirror RAIDED for Storage & Backup'')<br /> (1x) Western Digital Caviar Green WD10EADS 1TB 32MB Cache SATA 3.0Gb (''media'')<br /> (2x) Western Digital Caviar Green WD20EARS 2TB 64MB Cache SATA 3.0Gb/s 3.5<br /> (1x) Seagate Barracuda 7200.11 ST31000333AS 1TB 7200 RPM 32MB Cache SATA 3.0Gb/s 3.5" |video=On-board XGI Volari Z9S 32MB graphics |apps=Apache, PHP5, MySQL, PostgreSQL (used for php dev stuff), SVN Server, VMware Server |extras=[http://www.sybausa.com/productInfo.php?iid=537 SY-PEX40008 4-port SATA II PCI-e Card]<br /> }} cce7dbf2a50aeb97449bb1bf01845f494a5211f5 Template:Disclaimer 10 4 15 2012-07-04T23:13:20Z Joe 1 Pushed from Wiki Mirror Desktop. wikitext text/x-wiki <hr />'''Disclaimer''' ::The information found here has been created to help people.<br /> The steps given have worked for me with out a problem, but i will not be held responsible for how you use the information or what the out come of the use does for you.<br />If there is something that could cause problems or there is a risk in doing it, i have noted that - and done so for good reason. [http://google.com Google] and [http://yahoo.com Yahoo] are great resources, so please use them also. 4f3edbc57fea6200b03ecb9b63c705fe6158099e 16 15 2020-12-06T22:59:22Z Joe 1 1 revision imported wikitext text/x-wiki <hr />'''Disclaimer''' ::The information found here has been created to help people.<br /> The steps given have worked for me with out a problem, but i will not be held responsible for how you use the information or what the out come of the use does for you.<br />If there is something that could cause problems or there is a risk in doing it, i have noted that - and done so for good reason. [http://google.com Google] and [http://yahoo.com Yahoo] are great resources, so please use them also. 4f3edbc57fea6200b03ecb9b63c705fe6158099e Template:Winsearch 10 13 51 2012-07-04T23:13:21Z Joe 1 Pushed from Wiki Mirror Desktop. wikitext text/x-wiki Open up '{{{1}}}' (click START and type ''{{{1}}}'' (where it says '<i>Search programs and files</i>' ('<i>Run</i>' or '<i>Command Prompt</i>' in older Windows version)) and hit the enter button ) 03c5d3727e495a97465807cf0d33a4fce0190d64 52 51 2020-12-06T22:59:23Z Joe 1 1 revision imported wikitext text/x-wiki Open up '{{{1}}}' (click START and type ''{{{1}}}'' (where it says '<i>Search programs and files</i>' ('<i>Run</i>' or '<i>Command Prompt</i>' in older Windows version)) and hit the enter button ) 03c5d3727e495a97465807cf0d33a4fce0190d64 Deleting files and entries from 'msconfig' startup 0 26 77 2012-07-10T04:56:10Z Joe 1 Pushed from Wiki Mirror Desktop. wikitext text/x-wiki Deleting startup files which are left behind from mischievous software.<br /> This guide was written using Windows 7 as a base, but should work for all Windows Desktop Versions from Windows 95 (if not, then 98) to Windows 7 = First you need to stop the program from starting = # {{Winsearch|msconfig}} # Head to the 'Startup' tab # Scroll down and find the entry you want to delete, single click on it to highlight the entry # Remove the 'tick' (check mark) from the entries check-box # Restart your computer = Removing the program = # Follow steps 1-3 from above. # You will see 5 column headers named - ''Startup Item | Manufacture | Command | Location | Date Disabled'' # Look at the '''Command''' column and '''Location''' column of the item you selected. ## If you can ''not'' see all of the information in these columns:<br />Hoover your curser over the Header and slowly move your curser to the right (keeping the column header high lighted), once you get to the "end" of the header, your curser will change to a "bar" with two arrows (one arrow pointing left the other pointing to the right with the bar in-between <-|-> ). Once your curser changes to this, left click and hold the mouse button down and then move the mouse farther to the right (while still holding the left mouse button down.) This will make the column wider so you can read all the info in your seleted row. ''Note: you can do that in just about all windows programs that have lists with column headers.'' You can also stretch the header beyond the window frame and it will create a horizontal scroll bar so you can read long strings of text. # The '''Command''' column should hold the path to the file being started.<br />If you head to your start menu, then 'Computer' you can then follow the path to the file and delete it.<br />Note, this will only delete the main startup file for the program. Its possible that there are other files "connected" to this, but if you delete this main file, the program will no longer work. There used to be a few "cleaning" programs i used to recommend "long ago" (5 years ago and before) that would scan you computer and give you an option to delete things (kind of like a virus program) - but its been so long i cant remember the names of the programs, sorry. * This next part can be dangerous. Any time messing around in the registry can cause problems... * Making a [[Windows_Registry#Backing-up_Registry|backup of the Registry]] is advised. # The '''Location''' should hold a path in the 'registry' to load the file # {{Winsearch|regedit}} # Select 'Yes' to the "''User account control''" pop-up window that will appear. # Now the '''Location''' path (in msconfig) will probly start with something like '''<i>HKLM</i>/Software/Microsoft/Windows/CurrentVersion/Run'''<br /> The '''HKLM''' stands for: '''HKEY_LOCAL_MACHINE''' in ''regedit''. The '''HK''' in the '''Location''' path of '''<i>HKLM</i>/Software/bla/bla''' stands for '''HKEY''' in ''regedit''. # Now in 'regedit' use the folder tree on the left (looks simulare to a windows explore folder tree) and follow the '''Location''' path from 'msconfig'. # Once you get to the end of the path (last folder in 'regedit'), look in the right pannel for the entry you want to delete - right click and then delete.<br />If you do not find your entry you can try these two 'regedit' paths:<br />'''HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg'''<br />'''HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupfolder''' * Again, messing around in the registry like this can cause problems if you have an opps. If you search around online, you will see most people recomend ''not'' to edit the registry "by hand". Deleting the file found in the '''Command''' path will delete the main/start up file of the program. Deleting the '''Location''' path in 'regedit' will remove the entry listed in 'msconfig' and the possibility for the program to "auto-start" when your systems boots. 'msconfig' is kind of like an editor that lets you change some system settings (startup) in a safe way. Its alot better to use msconfig, then to go off and edit stuff by hand... If i rember correctly, the msconfig editor has been around since Windows 95 and is a pretty good tool. Hope it helps. {{Disclaimer}} [[category:Windows]] c8b02c026dc8f7e3b295a568cc7dcc84458eb372 Windows Registry 0 51 129 2012-07-10T04:56:32Z Joe 1 Pushed from Wiki Mirror Desktop. wikitext text/x-wiki {{toc}} == Links == * [http://en.wikipedia.org/wiki/Windows_Registry Wikipedia says] * [http://technet.microsoft.com/en-us/library/cc751049.aspx Microsoft says] * [http://support.microsoft.com/kb/256986 Microsoft also says] * [http://pcsupport.about.com/od/termsr/p/registrywindows.htm About says] == Backing-up Registry == * {{Winsearch|regedit}}<br />[[File:Win7_regedit.jpg]]<br /><br /> * Right click on 'Computer' then select 'Export' from the menu * Save this file to your '''c:\''' (naming it something with the current date in the name is wise "backup_07_08_2021.reg") == Restoring Registry == {{Disclaimer}} [[category:windows]] ab7b6cba6c511b15c816843be53097765e8b16de Template:Toc 10 10 37 36 2012-07-10T04:56:34Z Joe 1 Pushed from Wiki Mirror Desktop. wikitext text/x-wiki <table border="0" align="right" style="float:right"> <tr> <td>__TOC__</td> </tr> </table> f1403f3db7360d0b87750cc485c597130006b09c 38 37 2020-12-06T22:59:23Z Joe 1 3 revisions imported wikitext text/x-wiki <table border="0" align="right" style="float:right"> <tr> <td>__TOC__</td> </tr> </table> f1403f3db7360d0b87750cc485c597130006b09c Main Page 0 1 97 2019-10-14T03:00:33Z Joe 1 wikitext text/x-wiki <h1>Below are some of my <u>scattered</u> thoughts and opinions.</h1> And yes, to anyone who is reading this, im abit of a hypocrite just link you. Looking at my life through the thoughts which i think it should be and at times not lived. Failing and not pulling through, missing that appointment, let someone down, making someone feel bad. No self rightness here, just a reminder of whats rolling around in my head to try and keep me grounded. <br /><b>- Think:</b><br /> Dumb Thoughts, Useless Thoughts, Silly Thoughts. Think about Other Peoples thoughts. Just create a thought, your mind will not explode, the worst that can happen is you will be wrong. Don't believe in something just because you where told it was true. Do not be afraid of failure, its part of growth. <br /><b>- Sacrifice:</b><br /> Something that needs to be done in order to archive goals and growth. Nothing comes easy. <br /><b>- Unity:</b><br /> You do not have to like or completely agree with the person next to you, but in order to fight for the common good of things; i think you need to put aside personal feelings/emotions and work together. <br /><b>- Believe an Follow:</b><br /> Only you know. Examine whats around you, things said, read, seen and told.<br>Make up your own mind, create an opinion and roll with it... <br /><b>- Question:</b><br /> Everything! Why ? Whats the cause ? What will the out come be ? Whats the reason behind this ? Explain please. <br /> I think there needs to be an end to all the Greed, Dishonesty, Closed Mindedness, Insecurities and the rest of the things that lead to the slow growth of what we call an "Advanced Civilization". I think there needs to be a greater understanding of why we act the way we do; is it because of our own desires and needs or our insecurities in what we think the expectations of the people around us and society has laid down... <br /> No matter the age of a person, how often do you act or do you see someone else acting and/or saying something for the reason of acceptance. Was that funny statement you just made for the reason of putting a smile on a persons face and making them happy, or to put a smile on their face because if they are smiling around you it must mean they like you ? <br /> It seams as if... The more times something is said and the more people that say it, it becomes truth. The information enters us, skips right by the thought process and straight into memory as a fact. Whats wrong with hanging out for a minute and thinking about it, drawing your own conclusion. I think people need to stop doing things out of memory and start doing them out of thought and logic. I also think people need to stop taking second hand information as something more then gossip. We all interpret information in different ways, go straight to the source, skip the middle man, don't beat around the bush and try and extract the information, be upfront and honest. <br /> It also seams like the only people that are truly "different" (which i think most people try and set out to be) are the honest and pure ones. When trying to be something or act a serton way, you are killing the nature that has created you, the same nature which has made you unique. Do what you think is right, what you fell is good and not what the laws or pressures around you have imposed. Being self centered in this sense and doing things for yourself and your own happiness does not mean that you do not care about the people around you. Not caring what the next person <i>thinks of you</i> does not mean that you do not care about them. <b>Sharing = Learning > Growth</b> <h1>Some of my favorite quotes.</h1> If facts are the seeds that later produce knowledge and wisdom, then the emotions and the impressions of the senses are the fertile soil in which the seeds must grow.<br />~ Rachel Carson I have never met a man so ignorant that I could`t learn something from him.<br />~ Galileo Galilei I love humanity but I hate people.<br />~ Edna St. Vincent Millay Your vision will become clear only when you look into your heart. Who looks outside, dreams. Who looks inside, awakens.<br />~ Carl Jung There is nothing like a dream to create the future.<br />~ Victor Hugo Anyone who has never made a mistake has never tried anything new.<br />~ Albert Einstein We are all capable of infinitely more than we believe. We are stronger and more resourceful than we know, and we can endure much more than we think we can... In truth, the only restrictions on our capacity to astonish ourselves and each other are imposed by our own minds.<br />~ David Blaine If you think you can, you can. And if you think you can`t, you`re right.<br />~ Henry Ford It`s so hard to believe that we can see the world so differently We don`t realize cause we can`t see the world through each other`s eyes We`ll never understand I don`t think that anybody can. I think therefore I reserve the right to change my mind. I think therefore I will stand on my own principles....<br />~ Jim Lindberg Only those who attempt the absurd will achieve the impossible. I think it`s in my basement... let me go upstairs and check.<br />~ M. C. Escher Knowledge is a process of piling up facts; wisdom lies in their simplification.<br />~ Martin Fischer As to the gods, I have no means of knowing either that they exist or do not exist.<br />~ Protagoras Statistics are like bikini`s, what you see is very interesting, but the important stuff is all covered up....<br />~ Psychomyst Religion is to do right. It is to love, it is to serve, it is to think, it is to be humble.<br />~ Ralph Waldo Emerson What your doing is the opposite of help.<br />~ Shrek What Was Once An Opinion, Became a Fact, To Be Later Proven Wrong<br />~ Me :-) [[:Category:Places To Go]] 320bf5d5ec9ca575612b0672d5da18afb54ecfa1 1 2020-12-06T16:55:29Z MediaWiki default 2 wikitext text/x-wiki <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software. == Getting started == * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] 5702e4d5fd9173246331a889294caf01a3ad3706 Template:Placestogorow 10 9 33 2019-10-14T03:01:32Z Joe 1 Created page with "|- |[https://www.google.com/search?q={{#replace:{{{t|}}}| |+}}+({{#replace:{{{where|}}}| |+}}) {{{t|}}}] ||[{{{l|}}} Site] ||[{{#if: {{{map|}}} |{{{map|}}}| https://www.google..." wikitext text/x-wiki |- |[https://www.google.com/search?q={{#replace:{{{t|}}}| |+}}+({{#replace:{{{where|}}}| |+}}) {{{t|}}}] ||[{{{l|}}} Site] ||[{{#if: {{{map|}}} |{{{map|}}}| https://www.google.com/maps/dir/Goshen,+NY+10924/{{#if: {{{where|}}} |{{#replace:{{{where|}}}| |+}}|{{#replace:{{{t|}}}| |+}}}}}} {{{where|}}}] ||{{{info|}}} 3c0ec8154db53ebf8685c777a453c7cd850cc9bf 34 33 2020-12-06T22:59:23Z Joe 1 1 revision imported wikitext text/x-wiki |- |[https://www.google.com/search?q={{#replace:{{{t|}}}| |+}}+({{#replace:{{{where|}}}| |+}}) {{{t|}}}] ||[{{{l|}}} Site] ||[{{#if: {{{map|}}} |{{{map|}}}| https://www.google.com/maps/dir/Goshen,+NY+10924/{{#if: {{{where|}}} |{{#replace:{{{where|}}}| |+}}|{{#replace:{{{t|}}}| |+}}}}}} {{{where|}}}] ||{{{info|}}} 3c0ec8154db53ebf8685c777a453c7cd850cc9bf Template:Placestogo 10 8 30 2019-10-14T03:02:46Z Joe 1 Created page with "Location: {{{where|}}} Website: {{#if: {{{l|}}} | [{{{l|}}} {{{t|}}}] | }} Google Search: [https://www.google.com/search?q={{#replace:{{{t|}}}| |+}}+({{#replace:{{{where|}}..." wikitext text/x-wiki Location: {{{where|}}} Website: {{#if: {{{l|}}} | [{{{l|}}} {{{t|}}}] | }} Google Search: [https://www.google.com/search?q={{#replace:{{{t|}}}| |+}}+({{#replace:{{{where|}}}| |+}}) Search] Directions: [{{#if: {{{map|}}} |{{{map|}}}| https://www.google.com/maps/dir/Goshen,+NY+10924/{{#if: {{{where|}}} |{{#replace:{{{where|}}}| |+}}|{{#replace:{{{t|}}}| |+}}}}}} {{{where|}}}] {{#if: {{{info|}}} | <hr />{{{info|}}}| }} <hr /> <includeonly>[[Category:Places To Go|{{#if: {{{catorder|}}} | {{{catorder|}}}| {{{t|}}} }}]]</includeonly> 4b24397d79d634e7a6fc4b6cc7970b84ee87edc3 31 30 2019-10-14T16:05:11Z Joe 1 wikitext text/x-wiki Location: {{{where|}}} Website: {{#if: {{{l|}}} | [{{{l|}}} {{{t|}}}] | }} Google Search: [https://www.google.com/search?q={{#replace:{{{t|}}}| |+}}+({{#replace:{{{where|}}}| |+}}) Search] Directions: [{{#if: {{{map|}}} |{{{map|}}}| https://www.google.com/maps/dir/Goshen,+NY+10924/{{#if: {{{where|}}} |{{#replace:{{{where|}}}| |+}}|{{#replace:{{{t|}}}| |+}}}}}} {{{where|}}}] {{#if: {{{info|}}} | <hr />{{{info|}}}| }} <hr /> <includeonly>[[Category:Places To Go|{{#if: {{{catorder|}}} | {{{catorder|}}}| {{{t|}}} }}]]</includeonly> <includeonly>[[Category:Places To Go In {{{wherecat|}}}|{{#if: {{{catorder|}}} | {{{catorder|}}}| {{{t|}}} }}]]</includeonly> a6272d156005d5ce0d06471d04b5092e06a90f62 32 31 2020-12-06T22:59:23Z Joe 1 2 revisions imported wikitext text/x-wiki Location: {{{where|}}} Website: {{#if: {{{l|}}} | [{{{l|}}} {{{t|}}}] | }} Google Search: [https://www.google.com/search?q={{#replace:{{{t|}}}| |+}}+({{#replace:{{{where|}}}| |+}}) Search] Directions: [{{#if: {{{map|}}} |{{{map|}}}| https://www.google.com/maps/dir/Goshen,+NY+10924/{{#if: {{{where|}}} |{{#replace:{{{where|}}}| |+}}|{{#replace:{{{t|}}}| |+}}}}}} {{{where|}}}] {{#if: {{{info|}}} | <hr />{{{info|}}}| }} <hr /> <includeonly>[[Category:Places To Go|{{#if: {{{catorder|}}} | {{{catorder|}}}| {{{t|}}} }}]]</includeonly> <includeonly>[[Category:Places To Go In {{{wherecat|}}}|{{#if: {{{catorder|}}} | {{{catorder|}}}| {{{t|}}} }}]]</includeonly> a6272d156005d5ce0d06471d04b5092e06a90f62 Ruins of the Cornish Estate (COLD SPRING NEW YORK) 0 39 105 2019-10-14T03:03:04Z Joe 1 Created page with "{{placestogo |l=https://minskysabandoned.com/2015/10/15/cornish-estate-ruins/ |t=Ruins of the Cornish Estate |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Cornish+Trai..." wikitext text/x-wiki {{placestogo |l=https://minskysabandoned.com/2015/10/15/cornish-estate-ruins/ |t=Ruins of the Cornish Estate |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Cornish+Trail,+Philipstown,+NY+10516/@41.4135102,-74.2896549,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd333b9814504d:0x2272308176fa963a!2m2!1d-73.9697712!2d41.4343349 |where=Cold Spring, New York, 10516 |info= |catorder=C |type={{PAGENAME}} }} To access the ruins, you must pick one of the trails that are a part of the park, which runs along route 9D. There are several trail entrances so it was mildly confusing, but luckily we live in the time of Google Maps. Originally, I read that Breakneck Ridge was the trail to take. It would take you past a beautiful view the Hudson River and Bannerman’s Castle before leading you to the ruins. Online, the trail was listed as a “moderate” difficulty... and found the '''trail head for the Cornish Trail''', located shortly down the road. For those of you who do not wish to go on an adventure hike, the Cornish Trail is a leisurely walk down a beautiful wooded path that opens right up to what’s left of the estate’s mansion. It was maybe a 5 minute walk. I could only laugh at how easy that path was as opposed to our aforementioned expedition. https://theviewfinder.world/explore/cornish-estate-trail This path is a mile south of the popular Breakneck Ridge Trail that’s known for its steep ascent, rock scrambling and amazing views. We chose to go left and did the loop clockwise (Blue blaze Cornish trail/Red blaze Brook trail/Blue blaze Notch trail/White Blaze Washburn trail), which meant the ruins were at the beginning of the hike. For the trailhead, here are coordinates for your GPS: 41.426810, -73.965680 d2f5322d459424c0e0691ba8f7f5c9a9e5bd5c47 Catskill Game Farm (Catskill NY) 0 24 73 2019-10-14T03:04:17Z Joe 1 Created page with "{{placestogo |l=http://www.theoldgamefarm.com/events-sign-up |t=Catskill Game Farm |map=https://www.google.com/maps/dir/Goshen,+NY+10924/The+Old+Game+Farm,+400+Game+Farm+Rd,+C..." wikitext text/x-wiki {{placestogo |l=http://www.theoldgamefarm.com/events-sign-up |t=Catskill Game Farm |map=https://www.google.com/maps/dir/Goshen,+NY+10924/The+Old+Game+Farm,+400+Game+Farm+Rd,+Catskill,+NY+12414/@42.0075428,-74.4008187,10z/data=!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89ddba8ca02dc64d:0x7ea33e9e2cbccae!2m2!1d-74.0079403!2d42.2358258 |where=Catskill NY |info=sign up/event |type={{PAGENAME}} }} 09a437636a36d7714bca71aaba96d4c2bbc1fc2f Dennings Point Ruins (BEACON NEW YORK) 0 27 79 2019-10-14T03:04:49Z Joe 1 Created page with "{{placestogo |l=https://uncoveringnewyork.com/hiking-dennings-point/ |t=Dennings Point Ruins |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Dennings+Ave,+Beacon,+NY+12..." wikitext text/x-wiki {{placestogo |l=https://uncoveringnewyork.com/hiking-dennings-point/ |t=Dennings Point Ruins |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Dennings+Ave,+Beacon,+NY+12508/@41.4135102,-74.2896549,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd33d34190ebcf:0x4808122b24545f00!2m2!1d-73.9815621!2d41.4951204 |where=BEACON NEW YORK |info= |type={{PAGENAME}} }} Parking for Dennings Point can be found at the end of Dennings Avenue at the following coordinates: 41.494261, -73.981790. b1f9c1c21b3d0d66698e811d7b95ae534e1cff26 The Hudson River State Hospital for the Insane (NY) 0 43 113 2019-10-14T03:06:47Z Joe 1 Created page with "{{placestogo |l=https://www.atlasobscura.com/places/hudson-river-state-hospital |t=The Hudson River State Hospital for the Insane |map=https://www.google.com/maps/dir/Goshen,+..." wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/hudson-river-state-hospital |t=The Hudson River State Hospital for the Insane |map=https://www.google.com/maps/dir/Goshen,+NY+10924/185+Hudson+View+Dr,+Poughkeepsie,+NY+12601/@41.5189578,-74.4092534,10z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd15f0f968e505:0x44636711ebc9904b!2m2!1d-73.9222164!2d41.7326252 |where=Hudson Valley, NY |info= |catorder=H |wherecat=Hudson Valley, NY |type={{PAGENAME}} }} 28695f42665e4e541839b8e59dcce70c8f4a69ea Letchworth Village Mental Hospital (Thiells, New York) 0 34 93 2019-10-14T03:08:47Z Joe 1 Created page with "{{placestogo |l=https://www.atlasobscura.com/places/letchworth-village-2 |t=Letchworth Village Mental Hospital |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Letchwort..." wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/letchworth-village-2 |t=Letchworth Village Mental Hospital |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Letchworth+Village+Rd,+Thiells,+NY+10984/@41.2766478,-74.3266789,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89c2c4c99f12890d:0xff7ca3c1e4eeee57!2m2!1d-74.0254804!2d41.2142253 |where=Thiells, New York |wherecat=Rockland County |info= |type={{PAGENAME}} }} 609fb9c44e0129a422d70a246963ca3681b7d0b6 Letchworth Village Mental Hospital Cemetery (Thiells, New York) 0 35 95 2019-10-14T03:10:56Z Joe 1 Created page with "{{placestogo |l=https://www.atlasobscura.com/places/old-letchworth-village-cemetery |t=Letchworth Village Mental Hospital Cemetery |map=https://www.google.com/maps/dir/Goshen,..." wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/old-letchworth-village-cemetery |t=Letchworth Village Mental Hospital Cemetery |map=https://www.google.com/maps/dir/Goshen,+NY+10924/400+Call+Hollow+Rd,+Stony+Point,+NY+10980/@41.2766478,-74.326818,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89c2db40bd5a3ff7:0xd862b11ca5dbdab7!2m2!1d-74.0490778!2d41.2165144 |where=Thiells, New York |wherecat=Rockland County |info= |type={{PAGENAME}} }} 9eea7863624dbc9feb640a9ed5d4a1291589e439 Mohonk Preserve Testimonial Gateway (NEW PALTZ, NEW YORK) 0 36 99 2019-10-14T03:11:23Z Joe 1 Created page with "{{placestogo |l=https://www.atlasobscura.com/places/mohonk-testimonial-gatehouse |t=Mohonk Testimonial Gateway |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Mohonk+Pre..." wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/mohonk-testimonial-gatehouse |t=Mohonk Testimonial Gateway |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Mohonk+Preserve+Testimonial+Gateway,+5-9+Gatehouse+Rd,+New+Paltz,+NY+12561/@41.5667077,-74.5119482,10z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd2203597f253d:0x31bf27144aef88bd!2m2!1d-74.1184708!2d41.74491 |where=NEW PALTZ, NEW YORK |info= |type={{PAGENAME}} }} 6ff7c3483318499d959bc234ed859f2a84b98934 Catskills Overlook Mountain (Woodstock NY) 0 25 75 2019-10-14T03:11:48Z Joe 1 Created page with "{{placestogo |l=https://en.wikipedia.org/wiki/Overlook_Mountain |t=Catskills Overlook Mountain |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Macdaniel+Rd,+Woodstock,+N..." wikitext text/x-wiki {{placestogo |l=https://en.wikipedia.org/wiki/Overlook_Mountain |t=Catskills Overlook Mountain |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Macdaniel+Rd,+Woodstock,+NY+12498/@41.6912328,-74.8252704,9z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89ddaa77d03f405d:0x457c1b92f40534eb!2m2!1d-74.1406878!2d42.0744165 |where=Woodstock NY |info= |catorder=O |type={{PAGENAME}} }} 52f44bfb386352b3641f77cde6e709acffc6b625 Abandoned Town of Tahawus (New York) 0 14 53 2019-10-14T03:12:22Z Joe 1 Created page with "{{placestogo |l= |t=Abandoned town of Tahawus, New York |map= |where= |info= |catorder=T |type={{PAGENAME}} }}" wikitext text/x-wiki {{placestogo |l= |t=Abandoned town of Tahawus, New York |map= |where= |info= |catorder=T |type={{PAGENAME}} }} c333ff63d56f9c09f1382570a559f4554039c47f 54 53 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l= |t=Abandoned town of Tahawus, New York |map= |where= |info= |catorder=T |type={{PAGENAME}} }} c333ff63d56f9c09f1382570a559f4554039c47f The Deserted Village of Feltville (Watchung Village Feltville Glenside Park, NJ) 0 42 111 2019-10-14T03:13:04Z Joe 1 Created page with "{{placestogo |l=http://www.ghosttowns.com/states/nj/watchungvillage.html |t=The Deserted Village of Feltville (Watchung Village Feltville Glenside Park, NJ) |map= |where= |inf..." wikitext text/x-wiki {{placestogo |l=http://www.ghosttowns.com/states/nj/watchungvillage.html |t=The Deserted Village of Feltville (Watchung Village Feltville Glenside Park, NJ) |map= |where= |info= |type={{PAGENAME}} }} 214c929f60b527235171ebff04135c2391eb4c85 Trapps Hamlet (NY) 0 44 115 2019-10-14T15:56:03Z Joe 1 wikitext text/x-wiki {{placestogo |l=http://www.ghosttowns.com/states/ny/trappsmountainhamlet.html |t=Trapps Mountain Hamlet |map= |where=Gardiner, NY |whetecat= |info= |type={{PAGENAME}} }} e606e83495f007134dec8af271ad4e646b98d7f8 Widow Jane Mine 0 50 127 2019-10-18T01:10:13Z Joe 1 Created page with "{{placestogo |l=https://www.atlasobscura.com/places/widow-jane-mine |t=Widow Jane Mine |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Century+House+Historical+Society,+..." wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/widow-jane-mine |t=Widow Jane Mine |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Century+House+Historical+Society,+668+NY-213,+Rosendale,+NY+12472/@41.6159721,-74.4941356,10z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd1bc187c55555:0x26e4543fb8689be8!2m2!1d-74.0977188!2d41.8409793 |where=Rosendale, NY |wherecat=New Paltz |info= |catorder= |type={{PAGENAME}} }} f9b524dbfcc9dbe5f7d571b5cea2b3b9002a7a61 Template:Chmodexe 10 2 7 6 2020-12-06T22:59:22Z Joe 1 5 revisions imported wikitext text/x-wiki Create a new file, '''{{{1}}}'''<br /> Make your newly created file executable<br /> {{tty|cmd1=sudo chmod +x /path/to/{{{1}}}}} Copy the code posted here to '''{{{1}}}''' then save.<br /> And the good'ol '''Disclaimer''': This script worked for me and i hold no responsibility for what it does for you. 1d70ef3586822f3468812b91fad475454b929a0f Template:Foreach 10 5 19 18 2020-12-06T22:59:22Z Joe 1 2 revisions imported wikitext text/x-wiki <includeonly><!-- -->{{#if:{{{2|}}}|<!-- -->{{<!-- -->{{{1}}}|{{{2}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{3|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{3}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{4|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{4}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{5|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{5}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{6|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{6}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{7|}}}|<!-- -->{{{delim|}}}{{<!-- -->{{{1}}}|{{{7}}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{{8|}}}|{{{delim|}}}{{{{{1}}}|{{{8}}}}}}}<!-- -->{{#if:{{{9|}}}|{{{delim|}}}{{{{{1}}}|{{{9}}}}}}}<!-- -->{{#if:{{{10|}}}|{{{delim|}}}{{{{{1}}}|{{{10}}}}}}}<!-- -->{{#if:{{{11|}}}|{{{delim|}}}{{{{{1}}}|{{{11}}}}}}}<!-- -->{{#if:{{{12|}}}|{{{delim|}}}{{{{{1}}}|{{{12}}}}}}}<!-- -->{{#if:{{{13|}}}|{{{delim|}}}{{{{{1}}}|{{{13}}}}}}}<!-- -->{{#if:{{{14|}}}|{{{delim|}}}{{{{{1}}}|{{{14}}}}}}}<!-- -->{{#if:{{{15|}}}|{{{delim|}}}{{{{{1}}}|{{{15}}}}}}}<!-- -->{{#if:{{{16|}}}|{{{delim|}}}{{{{{1}}}|{{{16}}}}}}}<!-- -->{{#if:{{{17|}}}|{{{delim|}}}{{{{{1}}}|{{{17}}}}}}}<!-- -->{{#if:{{{18|}}}|{{{delim|}}}{{{{{1}}}|{{{18}}}}}}}<!-- -->{{#if:{{{19|}}}|{{{delim|}}}{{{{{1}}}|{{{19}}}}}}}<!-- -->{{#if:{{{20|}}}|{{{delim|}}}{{{{{1}}}|{{{20}}}}}}}<!-- -->{{#if:{{{21|}}}|{{{delim|}}}{{{{{1}}}|{{{21}}}}}}}<!-- -->{{#if:{{{22|}}}|{{{delim|}}}{{{{{1}}}|{{{22}}}}}}}<!-- -->{{#if:{{{23|}}}|{{{delim|}}}{{{{{1}}}|{{{23}}}}}}}<!-- -->{{#if:{{{24|}}}|{{{delim|}}}{{{{{1}}}|{{{24}}}}}}}<!-- -->{{#if:{{{25|}}}|{{{delim|}}}{{{{{1}}}|{{{25}}}}}}}<!-- -->{{#if:{{{26|}}}|{{{delim|}}}{{{{{1}}}|{{{26}}}}}}}<!-- -->{{#if:{{{27|}}}|{{{delim|}}}{{{{{1}}}|{{{27}}}}}}}<!-- -->{{#if:{{{28|}}}|{{{delim|}}}{{{{{1}}}|{{{28}}}}}}}<!-- -->{{#if:{{{29|}}}|{{{delim|}}}{{{{{1}}}|{{{29}}}}}}}<!-- -->{{#if:{{{30|}}}|{{{delim|}}}{{{{{1}}}|{{{30}}}}}}}<!-- -->{{#if:{{{31|}}}|{{{delim|}}}{{{{{1}}}|{{{31}}}}}}}<!-- -->{{#if:{{{32|}}}|{{{delim|}}}{{{{{1}}}|{{{32}}}}}}}<!-- -->{{#if:{{{33|}}}|{{{delim|}}}{{{{{1}}}|{{{33}}}}}}}<!-- -->{{#if:{{{34|}}}|{{{delim|}}}{{{{{1}}}|{{{34}}}}}}}<!-- -->{{#if:{{{35|}}}|{{{delim|}}}{{{{{1}}}|{{{35}}}}}}}<!-- -->{{#if:{{{36|}}}|{{{delim|}}}{{{{{1}}}|{{{36}}}}}}}<!-- -->{{#if:{{{37|}}}|{{{delim|}}}{{{{{1}}}|{{{37}}}}}}}<!-- -->{{#if:{{{38|}}}|{{{delim|}}}{{{{{1}}}|{{{38}}}}}}}<!-- -->{{#if:{{{39|}}}|{{{delim|}}}{{{{{1}}}|{{{39}}}}}}}<!-- -->{{#if:{{{40|}}}|{{{delim|}}}{{{{{1}}}|{{{40}}}}}}}<!-- -->{{#if:{{{41|}}}|{{{delim|}}}{{{{{1}}}|{{{41}}}}}}}<!-- --></includeonly> 2640e3341b7922438ea7ca24bb5c1ae720c787cd Template:Havetochange 10 6 24 23 2020-12-06T22:59:22Z Joe 1 4 revisions imported wikitext text/x-wiki ---- <big>'''- Important -'''</big><br /> You *have* to change (''all {{{count}}} occurences'' of) '''{{{from}}}''' in the code below to '''{{{to}}}'''<br /> Had to use '''{{{from}}}''' in order to post here, server security setting, sorry for the inconvenience. ---- 83c4c381be78f1bd48411913748ed055e7dbae9f Template:Person 10 7 29 28 2020-12-06T22:59:23Z Joe 1 4 revisions imported wikitext text/x-wiki <includeonly> [[Category:People|{{{lastname}}}, {{{firstname}}}]] {{#if:{{{yearborn|}}}|[[Category:People born in the year of {{{yearborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthborn|}}}|[[Category:People born in the month of {{{monthborn}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{yeardied|}}}|[[Category:People died in the year of {{{yeardied}}}|{{{lastname}}}, {{{firstname}}}]]|}} {{#if:{{{monthdied|}}}|[[Category:People died in the month of {{{monthdied}}}|{{{lastname}}}, {{{firstname}}}]]|}} </includeonly> 0ea195a690c36805ff9787c795804b90f533a02f Template:Tty 10 11 47 46 2020-12-06T22:59:23Z Joe 1 8 revisions imported wikitext text/x-wiki {|style="color:black; background-color:white;" cellpadding="2" width="100%" border="1px" |style="color:white; background-color:black;"|Terminal |- |{{#if:{{{cmd1|}}}|{{Foreach|Tty_cmds|delim=<br />|<!-- -->{{{cmd1|}}}|{{{cmd2|}}}|{{{cmd3|}}}|{{{cmd4|}}}|{{{cmd5|}}}|{{{cmd6|}}}|<!-- -->{{{cmd7|}}}|{{{cmd8|}}}|{{{cmd9|}}}|{{{cmd10|}}}|{{{cmd11|}}}|{{{cmd12|}}}|<!-- -->}}<br />|}} |} {{#if:{{{res|}}}|'''Results:'''<br /> {{{res}}}|}} f7df71d6d3f80e416588fef6bb0c9e04356f4695 Template:Tty cmds 10 12 50 49 2020-12-06T22:59:23Z Joe 1 2 revisions imported wikitext text/x-wiki '''name@machine:/$'''&nbsp;{{{1}}} 96d22db1ab2fe3354dd41cc01a78ed1dd4c88252 Abraham Lincoln 0 15 56 55 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {{Person |firstname=Abraham |lastname=Lincoln |birthplace= |yearborn=1809 |monthborn=February |dayborn=12 |yeardied=1865 |monthdied=April |daydied=15 }} == [[Abraham Lincoln/Quotes|Abraham Lincoln Quotes]] == {{:Abraham Lincoln/Quotes}} [[Category:Quotes|Lincoln, Abraham]] e34b3b57d2b3cf3e206432983e75c217a8098fef Abraham Lincoln/Quotes 0 16 58 57 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki * When I do good, I feel good; when I do bad, I feel bad. That`s my religion. d6a28b8d786f1c1cfa0fda65da2643e03d928b0a Albert Einstein 0 17 60 59 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {{Person |firstname=Albert |lastname=Einstein |birthplace= |yearborn=1879 |dayborn=14 |monthborn=March |yeardied=1955 |monthdied=April |daydied=18 }} == [[Albert Einstein/Quotes|Albert Einstein Quotes]] == {{:Albert Einstein/Quotes}} [[Category:Quotes|Einstein, Albert]] 5aa460fcca2e61b6991b25df11945337b3f0e47a Albert Einstein/Quotes 0 18 62 61 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki * Imagination is more important than knowledge... * The only thing that interferes with my learning is my education. * I don`t know, I don`t care, and it doesn`t make any difference! * Peace cannot be kept by force; it can only be achieved by understanding * Everyone should be respected as an individual, but no one idolized * A clever person solves a problem. A wise person avoids it. * All our science, measured against reality, is primitivae and childlike - and yet it is the most precious thing we have. * I do not believe in the immortality of the individual, and I consider ethics to be an exclusively human concern without any superhuman authority behind it. * Things should be made as simple as possible, but not any simpler. * Anyone who has never made a mistake has never tried anything new. * The problems that exist in the world today cannot be solved by the level of thinking that created them. 43c4c0a6a06a5b8569e685040972df9b25f57272 Anais Nin 0 19 64 63 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {{Person |firstname=Anais |lastname=Nin |birthplace= |yearborn=1903 |monthborn=February |dayborn=21 |yeardied=1977 |monthdied=January |daydied=14 }} == [[Anais Nin/Quotes|Anais Nin Quotes]] == {{:Anais Nin/Quotes}} [[Category:Quotes|Nin, Anais]] 20714e7b53b216eef4b9ab0c6073d508ed22c931 Anais Nin/Quotes 0 20 66 65 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki * When we blindly adopt a religion, a political system, a literary dogma, we become automatons. We cease to grow. 769db663ab4ebebc2201befab8128bead8680357 Auto create new Subversion repository and New entries in ViewVC viewvc.conf 0 21 68 67 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {|align="right" |__TOC__ |} == What it does == The following bash script will (using 'sudo')... * Create new dir for repository based on the 'SVNpath' variable defined at the top of the script * chown new dir with username and group based on 'OwnName' and 'GroupName' variables defined at the top of the script * chmod new dir to 0777 (i use this on a local server so its relaxed) * svnadmin create (with --fs-type fsfs '''or''' not) based on the 'svnFileSystem_fsfs' variable * Back-up your current viewvc.conf * Edit viewvc.conf ''svn_roots ='' * Edit viewvc.conf ''root_parents ='' '''Also see:''' [[Auto_delete_Subversion_repository_and_ViewVC_viewvc.conf_entries]] == Walk through == When this script is run it will ask you for the name of the svn repository you want to create: {{tty|cmd1=New svn repository name=<br />}} Lets say you create a new repository by the name of '<b>New_Repo_dir</b>' After you key in the name and hit enter, the script will do the following. {{tty |cmd1=New svn repository name=<br />New_Repo_dir New repository name will be New_Repo_dir<br /> [sudo] password for "ROOT":<br /> -> mkdir /path/to/repo/New_Repo_dir<br /> -> chown -R Owner:Group /path/to/repo/New_Repo_dir<br /> -> chmod 0777 -R /path/to/repo/New_Repo_dir<br /> -> svnadmin create /path/to/repo/New_Repo_dir --fs-type fsfs<br /> }} Then it will ask for the name which ViewVC will use {{tty|cmd1=ViewVC name=<br />}} Lets say you create a new ViewVC root name of '<b>TestViewName</b>' After you key in the name and hit enter, the script will back-up your current viewvc.conf (''viewvc.pre.New_Repo_dir.date''), edit your viewvc.conf and then display change. {{tty|cmd1=ViewVC name=<br />TestViewName - - - - - - ViewVC svn_roots - - - - - -<br /> svn_roots = TestViewName : /path/to/repo/New_Repo_dir, otherName : /path/to/repo/otherOne, NameFromYesterDay : /path/to/repo/NameFromYesterDay,<br /> - - - - - - - - - - - - - - - - - - - - - - - -<br /> - - - - - - - ViewVC root_parents - - - - - -<br /> root_roots = /path/to/repo/New_Repo_dir : TestViewName ,/path/to/repo/otherOne : otherName ,/path/to/repo/NameFromYesterDay : NameFromYesterDay<br /> - - - - - - - - - - - - - - - - - - - - - - - - }} == The Script == {{chmodexe|svn_create.sh}} <source lang="bash"> #!/bin/bash # *** CONFIG SETTINGS - Change to reflect your environment *** # # path where 'viewvc' is installed viewvc_config_path='/usr/local/viewvc-1.0.9'; # # root path where Subversion saves its repositories SVNpath='/all/mySubversion'; # # Filesystem to be used for SVN # 1 = FSFS # 0 = Berkeley DB-based svnFileSystem_fsfs='1'; # # Owner name for newly created svn repo dir OwnName='root'; # Group name name for newly created svn repo dir GroupName='subversion'; # # *** END OF CONFIG *** # used for backing up 'viewvc.conf' file NOW=$(date +"%Y-%m-%d"); # print to tty echo 'New svn repository name='; # get results, save to 'RPOname' var read RPOname; # exit - if no name is created if [[ $RPOname == '' ]] ; then exit; fi echo "New repository name will be $RPOname"; sudo mkdir "$SVNpath/$RPOname"; echo '-> mkdir ' "$SVNpath/$RPOname"; sudo chown -R "$OwnName:$GroupName" "$SVNpath/$RPOname"; echo '-> chown -R ' "$OwnName:$GroupName" "$SVNpath/$RPOname"; sudo chmod 0777 -R "$SVNpath" echo '-> chmod 0777 -R' "$SVNpath"; if [[ $svnFileSystem_fsfs == 1'' ]] ; then svnadmin create "$SVNpath/$RPOname" --fs-type fsfs; echo '-> svnadmin create' "$SVNpath/$RPOname" --fs-type fsfs; else svnadmin create "$SVNpath/$RPOname"; echo '-> svnadmin create' "$SVNpath/$RPOname"; fi # print to tty - Named used for ViewVC echo 'ViewVC name='; # get results, save to 'ViewVCname' var read ViewVCname; if [[ $ViewVCname != '' ]] ; then # need to excape / with \/ for the sed replace SVNpath=${SVNpath//\//\\/}; # change to ViewVC's dir cd "$viewvc_config_path" # Backup viewvc.conf with SVN dir name and date sudo cp viewvc.conf viewvc.pre."$RPOname.$NOW" # replace 'svn_roots = ' and 'root_parents = ' with the new names and paths sudo sed -i "s/svn_roots \= /svn_roots \= $ViewVCname \: $SVNpath\/$RPOname , /" viewvc.conf sudo sed -i "s/root_parents \= /root_parents \= $SVNpath \: $ViewVCname , /" viewvc.conf viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^svn_roots |/\#'); echo '--------- ViewVC svn_roots ---------' echo "$viewvc"; echo '------------------------------------' viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^root_parents |/\#'); echo '--------- ViewVC root_parents ---------' echo "$viewvc"; echo '------------------------------------' fi exit; </source> [[Category:Bash]][[Category:Subversion]][[Category:ViewVC]] 27641afff21b25067e58164131f29dfa844b3ee8 Auto delete Subversion repository and ViewVC viewvc.conf entries 0 22 70 69 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {|align="right" |__TOC__ |} == What it does == The following bash script will (using 'sudo')... * List off dirs in your svn root dir * Have you enter the dir you want to delete * Delete the dir * Display your ViewVC 'svn_roots =' string * Make a back-up of your current viewvc.conf * Have you enter what to delete from 'svn_roots =' string * Display your ViewVC 'root_parents =' string * Have you enter what to delete from 'root_parents =' string '''Also see:''' [[Auto_create_new_Subversion_repository_and_New_entries_in_ViewVC_viewvc.conf]] == Walk through == When this script is run it will first list off all dirs in your Subversions main root dir {{tty|cmd1=<br />****** SVN Repository List ******<br /> ... nautilus_scripts<br /> ... New_Repo_dir<br /> ... perl_Scripts<br /> DELETE svn repository<br /> }} Lets say you want to delete '<b>New_Repo_dir</b>', the following will happen. {{tty|cmd1=<br />DELETE svn repository<br /> New_Repo_dir<br /> [sudo] password for "ROOT":<br /> - - - - - - - - - ViewVC svn_roots - - - - - - - - -<br /> TestViewName : /all/mySubversion/New_Repo_dir , perlScripts: /all/mySubversion/perl_Scripts, nautilusScripts: /all/mySubversion/nautilus_scripts<br /> - - - - - - - - - - - - - - - - - -<br /> DELETE svn_roots =<br /> }} Now you need to delete the ViewVC svn_roots Name and Path for '''New_Repo_dir''', so copy/paste the following to your terminal<br /> <pre>TestViewName : /all/mySubversion/New_Repo_dir ,</pre> and the following will happen {{tty|cmd1=<br />DELETE svn_roots =<br /> TestViewName : /all/mySubversion/New_Repo_dir ,<br /> - - - - - - - - - ViewVC root_parents - - - - - - - - -<br /> /all/mySubversion : TestViewName , /all/mySubversion : perlScripts , /all/mySubversion : nautilusScripts<br /> - - - - - - - - - - - - - - - - - -<br /> DELETE root_parents =<br /><br /> }} And finally you have to delete ViewVC root_parents <pre>/all/mySubversion : TestViewName ,</pre> {{tty|cmd1=<br />DELETE root_parents =<br /> /all/mySubversion : TestViewName , }} When deleting from ViewVC you have to be careful what you are doing. == The Script == {{chmodexe|svn_remove.sh}} <source lang="bash"> #!/bin/bash # *** CONFIG SETTINGS - Change to reflect your environment *** # # path where 'viewvc' is installed viewvc_config_path='/usr/local/viewvc-1.0.9'; # # root path where Subversion saves its repositories SVNpath='/all/mySubversion'; # # *** END OF CONFIG *** NOW=$(date +"%Y-%m-%d"); echo ''; echo '****** SVN Repository List ******'; # List off all DIR's in SVN's root (for easy copy/paste at next promt); ls -l "$SVNpath"; echo ''; # Enter the DIR of the repository which you want to delete echo 'DELETE svn repository'; read RPOname; # rm the dir if [[ $RPOname != '' ]] ; then sudo rm -R "$SVNpath/$RPOname"; fi # Print "Subversion roots (repositories)" entry from viewvc.conf viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^svn_roots |/\#'); # clean the print alittle viewvc=${viewvc/svn_roots = /}; viewvc=${viewvc/svn_roots =/}; viewvc=${viewvc/svn_roots= /}; viewvc=${viewvc/svn_roots=/}; echo '--------- ViewVC svn_roots ---------'; echo "$viewvc"; echo '------------------------------------'; # enter what you want to delete, MUST be exact echo 'DELETE svn_roots ='; read viewvcname; echo ''; if [[ $viewvcname != '' ]] ; then viewvcname=${viewvcname//\//\\/}; viewvcname=${viewvcname//:/\\:}; # exit ViewVC cd "$viewvc_config_path"; sudo cp viewvc.conf viewvc.pre."$RPOname.$NOW"; sudo sed -i "s/$viewvcname//" viewvc.conf # Print "Subversion root_parents (repositories)" entry from viewvc.conf viewvc=''; viewvc=$(cat "$viewvc_config_path/viewvc.conf" | egrep '^root_parents |/\#'); viewvc=${viewvc/root_parents = /}; viewvc=${viewvc/root_parents =/}; viewvc=${viewvc/root_parents= /}; viewvc=${viewvc/root_parents=/}; echo '--------- ViewVC root_parents ---------'; echo "$viewvc"; echo '------------------------------------'; viewvcname=''; # enter what you want to delete, MUST be exact echo 'DELETE root_parents ='; read viewvcname; echo ''; if [[ $viewvcname != '' ]] ; then viewvcname=${viewvcname//\//\\/}; viewvcname=${viewvcname//:/\\:}; # exit ViewVC #cd /usr/local/viewvc-1.0.9 sudo cp viewvc.conf viewvc.pre."$RPOname.$NOW" sudo sed -i "s/$viewvcname//" viewvc.conf fi fi exit; </source> [[Category:Bash]][[Category:Subversion]][[Category:ViewVC]] fd8e98253f72262442cf0be34d508a8b65077c54 Bash: Working with files 0 23 72 71 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki == Remove duplicate lines in file == <source lang="bash"> #Will sort file out-put sort -u file.in > file.out #Works same as above, sort file out-put sort file.in | uniq > file.out # Will remove duplicates and keep file in same order awk ' !x[$0]++' file.in > file.out</source> == Remove blank lines in file == <source lang="bash"> sed '/^$/d' input.txt > output.txt # or grep -v '^$' input.txt > output.txt # Loop dir, remove blank lines from all files files="/home/me/data/*.txt" for i in $files do sed '/^$/d' $i > $i.out mv $i.out $i done </source> == Read file line by line == <source lang="bash"> while read line do echo $line; done < "file.lst" </source> == Count lines in file == <source lang="bash">countTotal=$(awk 'END { print NR }' file.name); echo "$countTotal"; </source> == Check if file exists == <source lang="bash"> if [ -s "$file_name" ]; then echo 'yes'; fi </source> == Check if dir exists == <source lang="bash"> if [ -d "$folder_path" ]; then echo 'yes'; fi </source> [[Category:Bash|F]] 8d00666c2ac52363f3f577d03761c960cf1c490e Catskill Game Farm (Catskill NY) 0 24 74 73 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=http://www.theoldgamefarm.com/events-sign-up |t=Catskill Game Farm |map=https://www.google.com/maps/dir/Goshen,+NY+10924/The+Old+Game+Farm,+400+Game+Farm+Rd,+Catskill,+NY+12414/@42.0075428,-74.4008187,10z/data=!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89ddba8ca02dc64d:0x7ea33e9e2cbccae!2m2!1d-74.0079403!2d42.2358258 |where=Catskill NY |info=sign up/event |type={{PAGENAME}} }} 09a437636a36d7714bca71aaba96d4c2bbc1fc2f Catskills Overlook Mountain (Woodstock NY) 0 25 76 75 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://en.wikipedia.org/wiki/Overlook_Mountain |t=Catskills Overlook Mountain |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Macdaniel+Rd,+Woodstock,+NY+12498/@41.6912328,-74.8252704,9z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89ddaa77d03f405d:0x457c1b92f40534eb!2m2!1d-74.1406878!2d42.0744165 |where=Woodstock NY |info= |catorder=O |type={{PAGENAME}} }} 52f44bfb386352b3641f77cde6e709acffc6b625 Deleting files and entries from 'msconfig' startup 0 26 78 77 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki Deleting startup files which are left behind from mischievous software.<br /> This guide was written using Windows 7 as a base, but should work for all Windows Desktop Versions from Windows 95 (if not, then 98) to Windows 7 = First you need to stop the program from starting = # {{Winsearch|msconfig}} # Head to the 'Startup' tab # Scroll down and find the entry you want to delete, single click on it to highlight the entry # Remove the 'tick' (check mark) from the entries check-box # Restart your computer = Removing the program = # Follow steps 1-3 from above. # You will see 5 column headers named - ''Startup Item | Manufacture | Command | Location | Date Disabled'' # Look at the '''Command''' column and '''Location''' column of the item you selected. ## If you can ''not'' see all of the information in these columns:<br />Hoover your curser over the Header and slowly move your curser to the right (keeping the column header high lighted), once you get to the "end" of the header, your curser will change to a "bar" with two arrows (one arrow pointing left the other pointing to the right with the bar in-between <-|-> ). Once your curser changes to this, left click and hold the mouse button down and then move the mouse farther to the right (while still holding the left mouse button down.) This will make the column wider so you can read all the info in your seleted row. ''Note: you can do that in just about all windows programs that have lists with column headers.'' You can also stretch the header beyond the window frame and it will create a horizontal scroll bar so you can read long strings of text. # The '''Command''' column should hold the path to the file being started.<br />If you head to your start menu, then 'Computer' you can then follow the path to the file and delete it.<br />Note, this will only delete the main startup file for the program. Its possible that there are other files "connected" to this, but if you delete this main file, the program will no longer work. There used to be a few "cleaning" programs i used to recommend "long ago" (5 years ago and before) that would scan you computer and give you an option to delete things (kind of like a virus program) - but its been so long i cant remember the names of the programs, sorry. * This next part can be dangerous. Any time messing around in the registry can cause problems... * Making a [[Windows_Registry#Backing-up_Registry|backup of the Registry]] is advised. # The '''Location''' should hold a path in the 'registry' to load the file # {{Winsearch|regedit}} # Select 'Yes' to the "''User account control''" pop-up window that will appear. # Now the '''Location''' path (in msconfig) will probly start with something like '''<i>HKLM</i>/Software/Microsoft/Windows/CurrentVersion/Run'''<br /> The '''HKLM''' stands for: '''HKEY_LOCAL_MACHINE''' in ''regedit''. The '''HK''' in the '''Location''' path of '''<i>HKLM</i>/Software/bla/bla''' stands for '''HKEY''' in ''regedit''. # Now in 'regedit' use the folder tree on the left (looks simulare to a windows explore folder tree) and follow the '''Location''' path from 'msconfig'. # Once you get to the end of the path (last folder in 'regedit'), look in the right pannel for the entry you want to delete - right click and then delete.<br />If you do not find your entry you can try these two 'regedit' paths:<br />'''HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg'''<br />'''HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupfolder''' * Again, messing around in the registry like this can cause problems if you have an opps. If you search around online, you will see most people recomend ''not'' to edit the registry "by hand". Deleting the file found in the '''Command''' path will delete the main/start up file of the program. Deleting the '''Location''' path in 'regedit' will remove the entry listed in 'msconfig' and the possibility for the program to "auto-start" when your systems boots. 'msconfig' is kind of like an editor that lets you change some system settings (startup) in a safe way. Its alot better to use msconfig, then to go off and edit stuff by hand... If i rember correctly, the msconfig editor has been around since Windows 95 and is a pretty good tool. Hope it helps. {{Disclaimer}} [[category:Windows]] c8b02c026dc8f7e3b295a568cc7dcc84458eb372 Dennings Point Ruins (BEACON NEW YORK) 0 27 80 79 2020-12-06T22:59:46Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://uncoveringnewyork.com/hiking-dennings-point/ |t=Dennings Point Ruins |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Dennings+Ave,+Beacon,+NY+12508/@41.4135102,-74.2896549,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd33d34190ebcf:0x4808122b24545f00!2m2!1d-73.9815621!2d41.4951204 |where=BEACON NEW YORK |info= |type={{PAGENAME}} }} Parking for Dennings Point can be found at the end of Dennings Avenue at the following coordinates: 41.494261, -73.981790. b1f9c1c21b3d0d66698e811d7b95ae534e1cff26 Download every number of mins - md5 compare chech sum of last and new 0 28 82 81 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki ==This one will just run a loop.== You will have to run the script in terminal or else it will run forever. While the script is running in your terminal window, you can press the 'enter' key and it will exit the script. This script has to be saved in the save dir as which the files are being saved to. {{chmodexe|download_loop.sh}} <source lang="bash"> #!/bin/bash # change that number to how ever many minutes you are checking the site. timedelay=5; # URL to download from downloadURL='http://202.54.31.8/section/dwr/img/caz_chn.gif'; # the sleep command works off of seconds, so we have to convert the 'timedelay' minutes to seconds. sleepDelay=$((60 * $timedelay)); #print timedelay to screen... echo "======================================="; echo "Download image every $timedelay minutes"; echo "======================================="; echo "Press the 'enter' key to exit"; echo "======================================="; echo ""; #loop over the code while [ 1 ] do # this will get the current date (year and month) and time (hour and minute) CurrentTime=$(date +\%Y\%m\%d\%H\%M); # this will subtract what ever minute vause you asign to 'timedelay' from the CurrentTime LastTime=$(($CurrentTime - $timedelay)); # Download your image and save the file yyyymmhhmm.gif wget --output-document=$CurrentTime.gif $downloadURL # md5 check sum on the current file you downloaded and save results to 'test1' test1=`md5sum $CurrentTime.gif | awk '{print $1}'` # Check to see if old file exists, if so run check sum if [ -s "$LastTime.gif" ]; then # md5 check sum on the last file you downloaded and save results to 'test2' test2=`md5sum $LastTime.gif | awk '{print $1}'` # compair 'test1' to 'test2', if they both have the same check sum, delete the last downloaded image if [ "$test1" == "$test2" ]; then rm "$LastTime.gif"; fi fi # pause's for a set number of seconds and checks tty to see if the 'enter' has been pressed during the pause, if so, exit loop read -t $sleepDelay && break #pause - another way to pause the loop #sleep $sleepDelay; #continue loop done </source> == This one has to be run as a cron job. == {{chmodexe|download_loop.sh}} <source lang="bash"> #!/bin/bash # change that number to how ever many minutes you are checking the site (matching your con-job time). timedelay=1; # URL to download from downloadURL='http://202.54.31.8/section/dwr/img/caz_chn.gif'; # Path to save folder on your computer... # Do *not* end with a foward / slash # Example - saveFolder='/path/to/save/dir'; saveFolder='/path/to/save/dir'; # this will get the current date (year and month) and time (hour and minute) CurrentTime=$(date +\%Y\%m\%d\%H\%M); # this will subtract what ever minute you asign to 'timedelay' from the CurrentTime so it can check the last file saved LastTime=$(($CurrentTime - $timedelay)); # Download your image and save the file yyyymmhhmm.gif wget --output-document="$saveFolder/$CurrentTime.gif" $downloadURL; # md5 check sum on the current file you downloaded and save results to 'test1' test1=`md5sum "$saveFolder/$CurrentTime.gif" | awk '{print $1}'`; # Check to see if old file exists, if so run check sum if [ -s "$saveFolder/$LastTime.gif" ]; then # md5 check sum on the last file you downloaded and save results to 'test2' test2=`md5sum "$saveFolder/$LastTime.gif" | awk '{print $1}'`; # compair 'test1' to 'test2', if they both have the same check sum, delete the last downloaded image if [ "$test1" == "$test2" ]; then rm "$saveFolder/$LastTime.gif"; fi fi exit </source> [[Category:Bash]] 2a1e2471904c6969f12bc36aaa9fd8201908694f Gaming & Media Specs 0 29 84 83 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{computer_specs |motherboard=[http://www.asus.com/Product.aspx?P_ID=szSFtrap7crpBaQE M2N-SLI Deluxe] |pc=AMD - A64 X2 6400+ 3.2G AM2 2M |memory=G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory Model F2-6400CL5D-4GBPQ |os=Dual Boot<br />[http://releases.ubuntu.com/lucid/ Ubuntu Lucid] (10.04.x) Desktop edition<br />Windows XP |hdd=Hitachi Deskstar 7K1000.C 1TB 1000GB Hard Drive SATA2 7200RPM 32MB |video=[http://www.nvidia.com/page/geforce8.html GeForce 8800 GTS (320MB)] |dvd=BURN LITE-ON - LH-20A1S OEM BK |psu=SEASONIC - SS-700HM 700W |extras=CARD RD - SUPER TALENT INT-AIN1-C RTL |apps= }} c5d02fb79c69174a58a862795aa7302f27691281 Home Server Specs 0 30 86 85 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{computer_specs |motherboard=[http://www.supermicro.com/products/motherboard/Xeon3000/3200/X7SBL-LN2.cfm Supermicro X7SBL] |pc=[http://ark.intel.com/Product.aspx?id=33933 Intel(R) Xeon(R) CPU X3360 @ 2.83GHz] |memory=(2x) Crucial 4GB (2 x 2GB) 240-Pin DDR2 SDRAM ECC Unbuffered DDR2 667 (PC2 5300) Dual Channel Kit Server Memory Model [http://www.crucial.com/store/partspecs.aspx?imodule=ct2kit25672aa667 CT2KIT25672AA667] |os=[http://releases.ubuntu.com/lucid/ Ubuntu Lucid] (10.04.x) server edition |hdd=(1x) Maxtor DiamondMax Plus 10 SATA150 200GB (''main drive'')<br /> (2x) Western Digital Caviar Green WD5000AADS 500GB 32MB Cache SATA 3.0Gb (''Mirror RAIDED for Storage & Backup'')<br /> (1x) Western Digital Caviar Green WD10EADS 1TB 32MB Cache SATA 3.0Gb (''media'')<br /> (2x) Western Digital Caviar Green WD20EARS 2TB 64MB Cache SATA 3.0Gb/s 3.5<br /> (1x) Seagate Barracuda 7200.11 ST31000333AS 1TB 7200 RPM 32MB Cache SATA 3.0Gb/s 3.5" |video=On-board XGI Volari Z9S 32MB graphics |apps=Apache, PHP5, MySQL, PostgreSQL (used for php dev stuff), SVN Server, VMware Server |extras=[http://www.sybausa.com/productInfo.php?iid=537 SY-PEX40008 4-port SATA II PCI-e Card]<br /> }} cce7dbf2a50aeb97449bb1bf01845f494a5211f5 Installing Lucid Lynx 0 31 88 87 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{toc}} == [[Installing Lucid Lynx Desktop on ASUS M2N-SLI Deluxe and GeForce 8800 GTS|Desktop - GeForce 8800 GTS & ASUS M2N-SLI Deluxe]] == {{:Installing Lucid Lynx Desktop on ASUS M2N-SLI Deluxe and GeForce 8800 GTS}} [[category:Ubuntu]] 0cffc28b49e96a920e15c238f61bcd200426208a Installing Lucid Lynx Desktop on ASUS M2N-SLI Deluxe and GeForce 8800 GTS 0 32 90 89 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki My experience installing Ubuntu Lucid Lynx (10.04 '''Beta II''') Desktop(64) on a ASUS M2N-SLI Deluxe mother board and a (single) GeForce 8800 GTS video card. The current computer has WinXP(32) and WinXP(64) installed (dual boot) so the LucidLynx install will be a "trice" boot. Burned the Lucid iso, popped it into the machine, restarted and... === Install problem (GeForce driver problem) === * Machine when't strait to running a live session (which was unexpected, maybe a Beta bug) and then hung on the Ubuntu logo * Rebooted (hit the reset button on front of computer) * At the first ubuntu image i hit the up arrow on the key board which brought up a menu * Selected 'Install' from the Ubuntu menu and hit 'enter'. * Machine started to load and then hung again on the Ubuntu logo * Rebooted (hit the reset button on front of computer) * At the Ubuntu menu cursored down to 'install' after that hit F6 which brought up another menu, hit escape (to close that menu) and then removed '''quiet splash--''' from the command string just above the F-options. * Hit 'enter' to continue the install Install when't fine after that. === Cant get to desktop, video driver problem === To be continued... === No sound === To be continued... ec77be93c2e6c2af334964d72fef3bf4620e12a0 Installing VirtualBox on Ubuntu server 0 33 92 91 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki The following info took place on 03/30/2010 while SSH into Ubuntu 8.04 server and installing VirtualBox 3.1 This little howto was put together from bits-and-pieces of information i gathered while searching around along with two problems i ran into and how they where resolved. * Add the "non-free" Vbox repo to our sources.list, the current Virtual Box in the repository is a bit dated. {{tty|cmd1=sudo vi /etc/apt/sources.list}} Add the following to the bottom of the list, then save. <nowiki>deb http://download.virtualbox.org/virtualbox/debian hardy non-free</nowiki> * Get Sun's public key... {{tty|cmd1=<nowiki>sudo wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- &#124; sudo apt-key add -</nowiki>}} * Update and Upgrade the server {{tty|cmd1=sudo aptitude update|cmd2=sudo aptitude upgrade}} * Install the correct Linux Headers along with Vbox (v3.1) {{tty|cmd1=sudo aptitude install linux-headers-$(uname -r) build-essential virtualbox-3.1}} During the install i received an error<br /> '''<nowiki>* Modprobe vboxdrv failed. Please use 'dmesg' to find out why.</nowiki>'''<br /> I ran the follow which fixed the problem. {{tty|cmd1=sudo /etc/init.d/vboxdrv setup|cmd2=sudo /etc/init.d/vboxdrv start}} After that i tried to run the following to get alittle info about the Vbox host and received another error... {{tty|cmd1=[http://www.virtualbox.org/manual/ch08.html#id2535703 VBoxManage list hostinfo] Sun VirtualBox Command Line Management Interface Version 3.1.6<br /> (C) 2005-2010 Sun Microsystems, Inc.<br /> All rights reserved.<br /> ERROR: failed to create the VirtualBox object!<br /> ERROR: Error in /home/**USER**/.VirtualBox/VirtualBox.xml (line 3) -- Cannot handle settings version '1.2-linux'.<br /> /home/vbox/vbox-3.1.6/src/VBox/Main/VirtualBoxImpl.cpp[420] (nsresult VirtualBox::init())<br /> Details: code NS_ERROR_FAILURE (0x80004005), component VirtualBox, interface IVirtualBox, callee <NULL> }} So i opened up the '''/home/**USER**/.VirtualBox/VirtualBox.xml''' file and edited the following line, changing '''1.2-linux''' to '''1.3-linux'''<br /> '''<nowiki><VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.2-linux"></nowiki>'''<br /> Saved and now everything seams to be working good. _ [[category:VirtualBox]] d0f0c0d9b31a4d85d65aecb52286d97607a8d1e9 Letchworth Village Mental Hospital (Thiells, New York) 0 34 94 93 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/letchworth-village-2 |t=Letchworth Village Mental Hospital |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Letchworth+Village+Rd,+Thiells,+NY+10984/@41.2766478,-74.3266789,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89c2c4c99f12890d:0xff7ca3c1e4eeee57!2m2!1d-74.0254804!2d41.2142253 |where=Thiells, New York |wherecat=Rockland County |info= |type={{PAGENAME}} }} 609fb9c44e0129a422d70a246963ca3681b7d0b6 Letchworth Village Mental Hospital Cemetery (Thiells, New York) 0 35 96 95 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/old-letchworth-village-cemetery |t=Letchworth Village Mental Hospital Cemetery |map=https://www.google.com/maps/dir/Goshen,+NY+10924/400+Call+Hollow+Rd,+Stony+Point,+NY+10980/@41.2766478,-74.326818,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89c2db40bd5a3ff7:0xd862b11ca5dbdab7!2m2!1d-74.0490778!2d41.2165144 |where=Thiells, New York |wherecat=Rockland County |info= |type={{PAGENAME}} }} 9eea7863624dbc9feb640a9ed5d4a1291589e439 Main Page 0 1 98 1 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software. == Getting started == * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] 5702e4d5fd9173246331a889294caf01a3ad3706 134 98 2020-12-06T23:58:08Z Joe 1 wikitext text/x-wiki [[:Category:Bash|Bash Scripts]] - [[:Category:Quotes|Quotes]] - [[:Category:Places_To_Go| Places to go]] <b>Below are some of my <u>Scattered</u> Thoughts and Opinions.</b><br> And if your still bord, towards the top you will find some Quotes that i've collected.<br> This site will never be finished and always growing, the pace of that is another story.<br> "<i>To laugh is to risk appearing a fool,<br> To weep is to risk appearing sentimental.<br> To reach out to another is to risk involvement,<br> To expose feelings is to risk exposing your true self.<br> To place your ideas and dreams before a crowd is to risk their loss.<br> To love is to risk not being loved in return,<br> To live is to risk dying,<br> To hope is to risk despair,<br> To try is to risk failure.<br> But risks must be taken because the greatest hazard in life is to risk nothing.<br> The person who risks nothing, does nothing, has nothing, is nothing...</i>"<br> - <b>Author Unknown</b> <br><br> <font color="#000000"><b>- Question :</b></font><br> Everything! Why ? Whats the cause ? What will the out come be ? Whats the reason behind this ?<br> Explain please. <br> <br> I think there needs to be an end to all the Greed, Dishonesty, Closed Mindedness, Insecurities and the rest of the things that lead to the slow growth of what we call an "Advanced Civilization". I think there needs to be a greater understanding of why we act the way we do; is it because of our own desires or somthing else... <br> <br> No matter the age of a person, how offen do you find people saying somthing for the reason of acceptance. Was that funny statment just made for the reason of puting a smile on a persons face and making them happy, or to put a smile on their face, because if they are smiling around you it must mean they like you... <br> <br> It seams as if...<br> The more times somthing is said <b>and</b> the more people that say it, it becomes truth. The information enters us, skips right by the thought process and straight into memory, as fact. Whats wrong with hanging out for a minute and thinking about it... We all interpret information in different ways, go straight to the source and skip the middle man... <br> <br> "What Was Once An Opinion, Became a Fact, To Be Later Proven Wrong..."<br> I think what we know as being correct today, will turn around to become wrong in the future. We will never know, we will never be right. <font color="#000000">Sharing = Learning > Growth</font> <br><br> 812cdf1f1649e770865336f83251d1b8fdaf601f Mohonk Preserve Testimonial Gateway (NEW PALTZ, NEW YORK) 0 36 100 99 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/mohonk-testimonial-gatehouse |t=Mohonk Testimonial Gateway |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Mohonk+Preserve+Testimonial+Gateway,+5-9+Gatehouse+Rd,+New+Paltz,+NY+12561/@41.5667077,-74.5119482,10z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd2203597f253d:0x31bf27144aef88bd!2m2!1d-74.1184708!2d41.74491 |where=NEW PALTZ, NEW YORK |info= |type={{PAGENAME}} }} 6ff7c3483318499d959bc234ed859f2a84b98934 RTorrent links 0 37 102 101 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki == Official Links == * [http://libtorrent.rakshasa.no/ Main Page] * [http://libtorrent.rakshasa.no/wiki/RTorrentCommandsRaw Raw Commands] * [http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks Common Tasks] == Custom Config == * [http://tridactyla.org/2009/12/28/rtorrent-tracker-sorting/ Sorting torrent files on the fly with rTorrent - 12/28/09] _ [[Category:RTorrent|L]] 594def0794f35556b5804b31a6f68e7c93812d39 Restoring Ubuntu default file permissions 0 38 104 103 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki Made a big mistake and ran the following as root ('''do <i>NOT</i> do this''') while logged into my 8.04 server via SSH.{{tty |cmd1=chmod -R 0777 /* }} Searched the net trying to find a way to restore all the files and dir's to there default permissions only to find the common "re-install" the operating system responce, which i did not want to do. The idea to install Ubuntu as a Virtual machine using [http://www.virtualbox.org/ VirtualBox], creating a script to log the fresh installs file permissions and then use that "permissions" log to change the broken servers permissions back to normal came to mind, so that is what this article is about. So here is what i did... '''1)''' Downloaded and installed the correct version (matching the version of the Broken Machine) of Ubuntu to a Virtual machine '''(*''' make sure you create a large enough Virtual hard-drive to install Ubuntu ''and'' all the programs you have installed on your broken machine ''')'''. '''2)''' Ran the following on the broken machine to get a list of all programs installed.<br /> This will be used to install the same programs on the Virtual machine to retrieve the correct file permissions for those programs. {{tty |cmd1=dpkg --get-selections > /path/to/installed-software.log }} '''3)''' Ran the following on the Virtual machine.<br /> This will freshly install all the programs which are currently installed on the broken machine to the Virtual machine. {{tty |cmd1=sudo apt-get install dselect |cmd2=sudo dpkg --set-selections < /path/to/installed-software.log |cmd3=sudo dselect }} '''4)''' Created a new folder on the ''Virtual machine'' and named it /filepermissions/<br> The first script below will create a separate log file for each "top level" dir on the drive and save them in the new /filepermissions/ folder. '''5)''' In 'root', ran this script on the ''Virtual machine''...<br /> This is the script which will create the "permission log file".<br /> {{chmodexe|/filepermissions/log_file_permissions.sh}} <source lang="bash"> #!/bin/bash folders[0]='bin'; folders[1]='boot'; folders[2]='dev'; folders[3]='etc'; folders[4]='initrd'; folders[5]='lib'; folders[6]='opt'; folders[7]='proc'; folders[8]='root'; folders[9]='sbin'; folders[10]='srv'; folders[11]='sys'; folders[12]='tmp'; folders[13]='usr'; folders[14]='var'; # Add to the 'folders' array if you need to... folders_count=${#folders[@]}; for (( i=0;i<$folders_count;i++)); do folder="${folders[${i}]}"; if [ -d /$folder ] && [ $folder != '/' ]; then echo "File permission search for folder /$folder"; sudo find "/$folder" -exec stat --format="chmod %a %n" "{}" \; > "$folder.permissions" fi done </source> '''6)''' In 'root', copied the ''/filepermissions/'' folder with all its log files from the Virtual machine to the Broken Machine and then ran this script on the ''Broken machine''...<br /> {{chmodexe|/filepermissions/change_file_permissions_from_log.sh}} <source lang="bash"> #!/bin/bash permFiles="*.permissions"; for f in *.permissions; do echo "Setting permissions for '$f'"; if [ "$f" != "$permFiles" ] ; then while read line do $line; done < "$f" fi done </source> While running that last script on the Broken Machine, there where some errors about files which where missing, but in the end everything seamed to be working fine. All known problems where corrected. There are a couple of programs, [http://www.viewvc.org/ viewvc], [http://libtorrent.rakshasa.no/ rtorrent] and a few others which i have re-installed manually since they where originally installed via a download from the devs site. This process too a long time but, to me, it seamed eazyer then having to re-configure the server from scratch. _ [[category:Ubuntu]] [[category:Bash]] 9696fef9580a2a2a51a5bbdefcb642f353619a81 Ruins of the Cornish Estate (COLD SPRING NEW YORK) 0 39 106 105 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://minskysabandoned.com/2015/10/15/cornish-estate-ruins/ |t=Ruins of the Cornish Estate |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Cornish+Trail,+Philipstown,+NY+10516/@41.4135102,-74.2896549,11z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd333b9814504d:0x2272308176fa963a!2m2!1d-73.9697712!2d41.4343349 |where=Cold Spring, New York, 10516 |info= |catorder=C |type={{PAGENAME}} }} To access the ruins, you must pick one of the trails that are a part of the park, which runs along route 9D. There are several trail entrances so it was mildly confusing, but luckily we live in the time of Google Maps. Originally, I read that Breakneck Ridge was the trail to take. It would take you past a beautiful view the Hudson River and Bannerman’s Castle before leading you to the ruins. Online, the trail was listed as a “moderate” difficulty... and found the '''trail head for the Cornish Trail''', located shortly down the road. For those of you who do not wish to go on an adventure hike, the Cornish Trail is a leisurely walk down a beautiful wooded path that opens right up to what’s left of the estate’s mansion. It was maybe a 5 minute walk. I could only laugh at how easy that path was as opposed to our aforementioned expedition. https://theviewfinder.world/explore/cornish-estate-trail This path is a mile south of the popular Breakneck Ridge Trail that’s known for its steep ascent, rock scrambling and amazing views. We chose to go left and did the loop clockwise (Blue blaze Cornish trail/Red blaze Brook trail/Blue blaze Notch trail/White Blaze Washburn trail), which meant the ruins were at the beginning of the hike. For the trailhead, here are coordinates for your GPS: 41.426810, -73.965680 d2f5322d459424c0e0691ba8f7f5c9a9e5bd5c47 Save file permissions to log file 0 40 108 107 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki <source lang="bash"> #!/bin/bash folders[0]='bin'; folders[1]='boot'; folders[2]='dev'; folders[3]='etc'; folders[4]='initrd'; folders[5]='lib'; folders[6]='opt'; folders[7]='proc'; folders[8]='root'; folders[9]='sbin'; folders[10]='srv'; folders[11]='sys'; folders[12]='tmp'; folders[13]='usr'; folders[14]='var'; folders_count=${#folders[@]}; for (( i=0;i<$folders_count;i++)); do folder="${folders[${i}]}"; if [ -d /$folder ] && [ $folder != '/' ]; then echo "File permission search for folder /$folder"; sudo find "/$folder" -exec stat --format="chmod %a %n" "{}" \; > "$folder.permissions" fi done </source> dd3a272e09c67e609242977783e1b46bc94f8538 Save list of users and the groups they belong to, to a file 0 41 110 109 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{chmodexe|save_UsersAndGroups.sh}} <source lang="bash"> #!/bin/bash # 0 will list off /home/UserName's # 1 will list off all user accounts (www-data, mysql, daemon, syslog, etc.) allUsers=1; if [[ -e "UsersAndGroups.log" ]] ; then cat /dev/null > 'UsersAndGroups.log'; fi if [[ "$allUsers" == 1 ]] ; then gawk -F: '{ print $1 }' /etc/passwd > 'UsersAndGroups.log'; else ls /home > 'UsersAndGroups.log'; fi num=0 for user in `cat UsersAndGroups.log`; do users[$num]=$user; num=$(($num + 1)) done cat /dev/null > 'UsersAndGroups.log'; users_count=${#users[@]}; for (( i=0;i<$users_count;i++)); do groups ${users[${i}]} >> 'UsersAndGroups.log'; #groups ${users[${i}]}; done </source> [[Category:Bash]] 60d4a07e32cfb54aedd1aeeaf86dad03d5298b32 The Deserted Village of Feltville (Watchung Village Feltville Glenside Park, NJ) 0 42 112 111 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=http://www.ghosttowns.com/states/nj/watchungvillage.html |t=The Deserted Village of Feltville (Watchung Village Feltville Glenside Park, NJ) |map= |where= |info= |type={{PAGENAME}} }} 214c929f60b527235171ebff04135c2391eb4c85 The Hudson River State Hospital for the Insane (NY) 0 43 114 113 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/hudson-river-state-hospital |t=The Hudson River State Hospital for the Insane |map=https://www.google.com/maps/dir/Goshen,+NY+10924/185+Hudson+View+Dr,+Poughkeepsie,+NY+12601/@41.5189578,-74.4092534,10z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd15f0f968e505:0x44636711ebc9904b!2m2!1d-73.9222164!2d41.7326252 |where=Hudson Valley, NY |info= |catorder=H |wherecat=Hudson Valley, NY |type={{PAGENAME}} }} 28695f42665e4e541839b8e59dcce70c8f4a69ea Trapps Hamlet (NY) 0 44 116 115 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=http://www.ghosttowns.com/states/ny/trappsmountainhamlet.html |t=Trapps Mountain Hamlet |map= |where=Gardiner, NY |whetecat= |info= |type={{PAGENAME}} }} e606e83495f007134dec8af271ad4e646b98d7f8 Ubuntu 8.04 Server utorrent 0 45 118 117 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki '''libtool'''<br /> * Used libtool-2.2.tar.gz getting error, needs to be older... * http://ftp.gnu.org/gnu/libtool/ * https://launchpad.net/libtool/ '''libcurl'''<br /> * http://curl.haxx.se/ '''libsigc++'''<br /> * http://curl.haxx.se/ [[Category:RTorrent]] 2ac2ab6a8d08eaaa768d1be59a774c9d7523c0ac Upgrading iPod 80GB (5.5 Generation) Harddrive to MK2431GAH (240GB) 0 46 120 119 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki Running [http://rockbox.org RockBox] bios & software Links and resources used:<br /> * Choosing harddrive<br/> http://www.rockbox.org/wiki/HardDriveReplacement * RockBox ("large HDD") software support (version 3.6 +) <br /> http://www.rockbox.org/wiki/MajorChanges * Partitioning and formatting via Linux<br/> http://www.rockbox.org/wiki/IpodManualRestore * iPod "commands" <br/> http://www.command-tab.com/2006/03/30/hidden-ipod-commands/ * Upgrade HowTo <br /> http://www.command-tab.com/2007/03/11/upgrading-ipod-hard-drives/ == Partitioning == 1) Started iPod in 'Disk Mode' (holding the Select and Play buttons (while disconnected from computer))<br /> 2) Pluged iPod into computer<br /> 3) Made sure the the iPod was not mounted, this is important.<br /> 4) Find the iPods disk path (my path was <code>/dev/sdf</code> so that is what i will use for the rest of this article): {{tty|cmd1=sudo fdisk -l}} 5) I made sure that there was no partitions on the iPod (if so i deleted them, then ran <code>partprobe</code> to re-read partition table): {{tty|cmd1=sudo fdisk /dev/sdf |cmd2=sudo partprobe /dev/sdf}} 6) In terminal, change to the dir which holds the <code>mbr-xxxx.bin</code> file then "extract" to iPod with the following: {{tty|cmd1=dd if=mbr-*.bin of=/dev/sdf}} 7)Re-read iPods MBR{{tty|cmd1=sudo hdparm -z /dev/sdf}} 8)Install the Firmware.xxx.ipsw file to iPod.{{tty|cmd1=sudo hdparm -z /dev/sdf}} f848f4a27ecf3bbbb78394deffa85f8969b7fbfb VirtualBox Links 0 47 122 121 2020-12-06T22:59:47Z Joe 1 1 revision imported wikitext text/x-wiki == python Scripts == * While searching for info to create my own Bash utility i stumbled across this python script <br /> [http://retoros.org/blog/2009-12-19/lattera/virtualbox-headless-script-createdelete-vm VirtualBox Headless Script to Create/Delete VM] [[category:VirtualBox]] 7cfa320a11993877888810671f0b18b7343f0e19 Virtualbox Command Line Utility 0 48 124 123 2020-12-06T22:59:48Z Joe 1 1 revision imported wikitext text/x-wiki The following [[:category:bash|Bash]] script was created to make controlling [http://virtualbox.org Virtualbox] from the command line a little easier. This script was created while using Virtualbox 3.1.6<br /> Tested on: * Virtualbox 3.1.6 {{toc}} == Configure == The script itself has one config setting: <b>'viewYNinMenu'</b><br /> After any/all option menus are displayed, you can have a second question asked: <code>"You choose '$this' (y/n)?"</code><br /> Setting <b>'viewYNinMenu'</b> to 1 will enable this second question, setting <b>'viewYNinMenu'</b> to 0 the second question will not be asked. == Main Menu Options == [[File:Vbox utily mainmenu.jpg]] === Create New vm Guest === Function called <code>createNewVM()</code> You will be asked a few questions * New guest name * Menu: What OS (choices from <code>VBoxManage list ostypes</code>) [[File:Vbox utily select os.jpg]] * Path to .iso * Memory Size * Harddrive Size * .vdi file name (or file name and path if you want to store the .vdi file else where) Default: ~/.VirtualBox/HardDisks/ * The variables at the top of the <code>createNewVM()</code> functon will be used for the rest of the options <br />boot1, boot2, clipboard, acpi, ioapic, pae, nestedpaging, cpus, synthcpu, hwvirtex, vtxvpid, snapshotfolder, vram, accelerate3d, accelerate2dvideo, vrdp, vrdpport, vrdpauthtype, vrdpmulticon, storagectl, storagect2, floppy, usb, usbehci, audio, audiocontroller, nic1, nictype1, cableconnected1 After the questions are asked, the script will display your answers with a final prompt to create. Then you will be asked if you want to Start the guest (in "Headless" mode) <code>VBoxHeadless -startvm [name]</code> === DELETE Guest === ............ === Power Management === Uses <code>selectPowerManagement()</code><br /> Questions asked: * Menu: What guest to work with * Menu: Power Options [[File:Vbox_utily_powermangmant.jpg]]<br /> === Add DVD iso === .............. === Add shared folder === Calls <code>workWithShareFolders()</code><br /> Lets you add a new Shared Folder to a guest.<br /> Questions asked: * Menu: What guest to work with * Host path to Shared folder * Share folder name * readonly * transient * Then the final "do you want to do this (y/n)" New shared folders can only be added to guests which are not running.<br /> If the guest is running you will be prompted:<br /> [[File:Vbox_utily_sharedfolder.jpg]] === Add storage (harddrive) === ........... === Remove DVD iso === ............... === Remove shared folder === Calls <code>workWithShareFolders()</code><br /> Lets you remove a Shared Folder from a guest.<br /> Questions asked: * Menu: What guest to work with * Menu: Listing the names of the current shared folders * transient * Then the final "do you want to do this (y/n)" Just like adding a new Shared Folder, guest must be off. === Remove storage (harddrive) === ........... === Select Guest and showvminfo === Calls <code>askWhatVM_thenDisplayInfo()</code> <source lang="bash">askWhatVM_thenDisplayInfo "Select guest to view" 1</source> === Display "VBoxManage list" options === Displays menu for <code>VBoxManage list</code><br /> This can be edited in the <code>displayVBoxManageList()</code><br /> [[File:Vbox utily vboxmanage list.jpg]] === Command line === Lets you work with the terminal command line with-out exiting the script == Functions == === startUpQuestions() === === askWhatVM_thenDisplayInfo() === This function will: # Create a Menu parsing <code>VBoxManage list vms</code> out-put and displaying the names of the Guests installed on the host.<br /> [[File:VboxUtily select guest.jpg]] # "Returns" some information # Display <code>VBoxManage showvminfo [vmaname]</code> if argument is passed Arguments passed into function: * Question (string)<br />This function can be called for different reasons so we pass the "question" to it * Display <code>VBoxManage showvminfo [vmaname]</code> (int)<br />Thought an option to display the Guest info would be nice. Returns an "Array" * arr[0] = Name * arr[1] = UUID * arr[2] = 1st Controller * arr[3] = 2nd Controller * arr[4] = Shared folders * arr[5] = State (running, saved, off, etc.) Usage: <source lang="bash"> # mock-up # Just ask question and get results with out displaying 'VBoxManage showvminfo' tmpArr=( $(askWhatVM_thenDisplayInfo "Add iso to DVD for ?") ) vmGuestName="${tmpArr[0]}" vmGuestUUID="${tmpArr[1]}" ...... ...... VBoxManage storageattach "$vmGuestUUID".... </source> OR <source lang="bash"> # Display info from 'VBoxManage showvminfo' askWhatVM_thenDisplayInfo "Display info for guest ?" 1 ; </source> === displayVBoxManageList() === === workWithShareFolders() === This function will first display a menu to choose what guest to work with via the <code>askWhatVM_thenDisplayInfo()</code> function. After it gets the results from askWhatVM_thenDisplayInfo it will do a check to see what 'state' the guest is in, if guest is not in the 'powered off' state, another menu will appear where you can turn off the guest with one of the <code>VBoxManage controlvm</code> options (''pause|resume|reset|poweroff|savestate|acpipowerbutton|acpisleepbutton''). After machine is turned off a list of current shared folders will be displayed and depending on why you are calling this function (adding a new Share or removing a Share) you will be asked acouple questions. Adding Shared Folder: * Host path to Shared folder * Share folder name * readonly * transient * Then the final "do you want to do this (y/n)" Removing Shared Folder: * A menu will appear listing the names of the current shared folders * transient * Then the final "do you want to do this (y/n)" If you select "no" to the "do you want to do this (y/n)" questions, you will be brought back to the main menu. Arguments passed into function: * "todo" (string) - adding or removing === workWithDVD() === Calls <code> </code> Arguments passed into function: * "Question" (string) * "todo" (string) === createNewVM() === At the top of this function you ca set a bunch of variables which will be used during the creation of a new vm guest. === choose_OSfromList() === === askQuestion() === === displayOptions() === === selectPowerManagement() === Calls <code>askWhatVM_thenDisplayInfo()</code> and <code>powerOffSaveState()</code><br /> === powerOffSaveState() === Calls <code>displayOptions()</code> and <code>loopPowerState()</code><br /> === loopPowerState() === Arguments passed into function: * vmID (string) * stateOrg (string) When this function is called it will loop <code>VBoxManage showvminfo [vmID]</code>, grab the current 'state' of the guest and compare that to the passed 'stateOrg'. When the current state is different then the passed 'stateOrg' it will break the loop. This is used mainly for shutting down a machine with <code>VBoxManage controlvm [name] acpipowerbutton</code> during changes to a guest which require the guest to be turned off. Since it takes alittle while for a guest to shut down, this loop let you know when the guest is off. == Thanks to == '''[http://ubuntuforums.org/member.php?u=243323 geirha]'''<br /> Roughly a year ago i made the switch to Ubuntu (from Windows). Through that time I've been learning Bash when time permits and for this "project", geirha has been a great help and has taught me so much. Thank you. == The script == {{:Virtualbox_Command_Line_Utility/1.0.0}} [[Category:VirtualBox]] 0f4d707ed46a1420dab7eb38213ffcc9dcdd87ba Virtualbox Command Line Utility/1.0.0 0 49 126 125 2020-12-06T22:59:48Z Joe 1 1 revision imported wikitext text/x-wiki <source lang="bash"> #!/bin/bash </source> fcbef2903a06869d1d02345788d7d564fdaf238e Widow Jane Mine 0 50 128 127 2020-12-06T22:59:48Z Joe 1 1 revision imported wikitext text/x-wiki {{placestogo |l=https://www.atlasobscura.com/places/widow-jane-mine |t=Widow Jane Mine |map=https://www.google.com/maps/dir/Goshen,+NY+10924/Century+House+Historical+Society,+668+NY-213,+Rosendale,+NY+12472/@41.6159721,-74.4941356,10z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0x89c32e8c5c842df7:0xd9b87c2676d15bee!2m2!1d-74.347017!2d41.3862816!1m5!1m1!1s0x89dd1bc187c55555:0x26e4543fb8689be8!2m2!1d-74.0977188!2d41.8409793 |where=Rosendale, NY |wherecat=New Paltz |info= |catorder= |type={{PAGENAME}} }} f9b524dbfcc9dbe5f7d571b5cea2b3b9002a7a61 Windows Registry 0 51 130 129 2020-12-06T22:59:48Z Joe 1 1 revision imported wikitext text/x-wiki {{toc}} == Links == * [http://en.wikipedia.org/wiki/Windows_Registry Wikipedia says] * [http://technet.microsoft.com/en-us/library/cc751049.aspx Microsoft says] * [http://support.microsoft.com/kb/256986 Microsoft also says] * [http://pcsupport.about.com/od/termsr/p/registrywindows.htm About says] == Backing-up Registry == * {{Winsearch|regedit}}<br />[[File:Win7_regedit.jpg]]<br /><br /> * Right click on 'Computer' then select 'Export' from the menu * Save this file to your '''c:\''' (naming it something with the current date in the name is wise "backup_07_08_2021.reg") == Restoring Registry == {{Disclaimer}} [[category:windows]] ab7b6cba6c511b15c816843be53097765e8b16de Category:Bash 14 52 131 2020-12-06T23:53:56Z Joe 1 Created page with "..." wikitext text/x-wiki ... 6eae3a5b062c6d0d79f070c26e6d62486b40cb46 Category:Quotes 14 53 132 2020-12-06T23:55:10Z Joe 1 Created page with "..." wikitext text/x-wiki ... 6eae3a5b062c6d0d79f070c26e6d62486b40cb46 Category:Places To Go 14 54 133 2020-12-06T23:56:33Z Joe 1 Created page with "..." wikitext text/x-wiki ... 6eae3a5b062c6d0d79f070c26e6d62486b40cb46